-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: match OAuth2 redirect_uri against every registered redirect URI #29014
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
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3bbc6ec
feat(codersdk): add a loopback-aware redirect URI comparator
BobbyHo 81e2fde
fix(coderd/httpapi): allow any port on loopback redirect URIs
BobbyHo ac9f591
test(coderd/oauth2provider): cover the loopback redirect port excepti…
BobbyHo 61d4bd4
docs(admin/integrations): describe the loopback redirect port exception
BobbyHo baca1c6
Merge branch 'main' into plat488-1-loopback-comparator
BobbyHo c33f0b4
Merge branch 'main' into plat488-1-loopback-comparator
BobbyHo 182b465
docs(codersdk): cite RFC 8252 correctly in the IsLoopbackAddress comment
BobbyHo 6cf371f
docs(admin/integrations): say which hosts and clients get the loopbac…
BobbyHo 6fa2fc6
refactor(codersdk): unexport isLoopbackAddress and clarify RedirectUR…
BobbyHo 2eeee6c
fix(coderd): say the loopback port may differ in the redirect_uri mis…
BobbyHo e521650
test(coderd/httpapi): collapse the loopback component mismatch cases
BobbyHo 841c2b6
fix: match OAuth2 redirect_uri against every registered redirect URI
BobbyHo 2fc732b
test(coderd/oauth2provider): authorize with a redirect URI that is no…
BobbyHo cbfbb70
docs(admin/integrations): say every registered redirect URI is honoured
BobbyHo f57f4bc
refactor(coderd): take the primary redirect URI as its own parameter
BobbyHo af29bc6
test(coderd/oauth2provider): put the TestNewAuthorizeResponse doc com…
BobbyHo 573912d
Merge branch 'main' into plat488-1-loopback-comparator
BobbyHo 3f0b046
Merge branch 'plat488-1-loopback-comparator' into plat582-1-redirect-…
BobbyHo 844a46f
Merge branch 'main' into plat582-1-redirect-uri-allowlist
BobbyHo 0386b2a
Merge branch 'main' into plat582-1-redirect-uri-allowlist
BobbyHo 249ac1b
Merge branch 'main' into plat582-1-redirect-uri-allowlist
BobbyHo 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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.