-
Notifications
You must be signed in to change notification settings - Fork 943
feat: add oauth2 token exchange #11778
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
Merged
code-asher
merged 35 commits into
asher/oauth2-exchange-db
from
asher/oauth2-exchange-idp
Feb 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
363005f
Extract auth code helper
code-asher 7000a38
Add static OAuth2 authorize page
code-asher dc7a246
Add URL query validator
code-asher 48fe155
Allow multiple required query params
code-asher a4a1dd5
Check that required query params are non-zero
code-asher 586d47d
Refactor test apps
code-asher d8d2674
Add OAuth2 app filtering by user
code-asher b23f114
Allow fetching app with query param and form value
code-asher e6a97bc
Add OAuth2 auth, token, and revoke routes
code-asher ba95d1b
make gen
code-asher cbce34a
Delete some oidc helper comments
code-asher 89b281d
s/Required/RequiredNotEmpty
code-asher 6e3940d
No URL for me
code-asher 7b132e4
Move redirect check into query parser
code-asher 035092a
Return err on invalid params
code-asher 3edbc35
Use correct godoc style
code-asher 761c57d
Use userpassword.Hash
code-asher 4769af9
Add comments to code timeout
code-asher 30679d7
Comment on blank origin
code-asher c06218e
Pass the whole app to db2sdk
code-asher 24e643c
Fix a racy context
code-asher de037d3
Extract state from authURL
code-asher 19fa030
Implement refresh grant
code-asher 10ab1c9
Fix verbiage in app PUT
code-asher 22ff6c8
Remove extra period
code-asher cae4e61
Fix test race
code-asher d854f4d
Apparently browsers do not always set origin
code-asher 9aba07f
Mention redirect URL must be a subset
code-asher 4b975dc
Remove redundant comment
code-asher 5b6a096
Clarify revoke operates on an authorized user
code-asher f583398
Move cURL comment
code-asher 0161b10
Add error when referer is blank
code-asher c86e65a
Comment app secret struct
code-asher 2dba243
Use var block
code-asher cedf7f2
Add error for unhandled grant types
code-asher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Return err on invalid params
That way the caller can just check err instead of the length of errors.
- Loading branch information
commit 035092a31934fe7b86d29d84efb8a7dd0e27d2ec
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.