Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDK-4738] Add support for performing Pushed Authorization Requests #327

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

ewanharris
Copy link
Contributor

🔧 Changes

Add support for performing Pushed Authorization Requests using the authentication client provided

📚 References

🔬 Testing

Covered by unit tests and tested manually

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@ewanharris ewanharris requested a review from a team as a code owner December 7, 2023 17:16
@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (6faf79f) 95.10% compared to head (65a3389) 95.09%.

Files Patch % Lines
authentication/oauth.go 93.33% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #327      +/-   ##
==========================================
- Coverage   95.10%   95.09%   -0.01%     
==========================================
  Files          46       46              
  Lines        8939     8984      +45     
==========================================
+ Hits         8501     8543      +42     
- Misses        334      336       +2     
- Partials      104      105       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines +425 to +426
ResponseType: "code",
RedirectURI: "http://localhost:3000/callback",
Copy link
Contributor

@Widcket Widcket Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way we can mark these as required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add something to the function body to check for the required fields

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in 65a3389

Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
@ewanharris ewanharris merged commit 9fef632 into main Dec 11, 2023
5 checks passed
@ewanharris ewanharris deleted the feat/SDK-4738-par branch December 11, 2023 10:03
@ewanharris ewanharris mentioned this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants