-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: reject secret creation and fix reporting for public clients #28097
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
77 commits
Select commit
Hold shift + click to select a range
7e3f6c0
fix(coderd/oauth2provider): reject PKCE code_verifier below RFC 7636 …
BobbyHo a125238
fix(scripts/oauth2): generate PKCE verifiers at the RFC 7636 floor le…
BobbyHo eea4094
fix(coderd/oauth2provider): validate code_challenge format at authorize
BobbyHo e7d78d5
fix(coderd/oauth2provider): return invalid_request for malformed code…
BobbyHo fb7e90b
fix(coderd/oauth2provider/oauth2providertest): restore e2e coverage o…
BobbyHo 4fe0b1b
fix(coderd/oauth2provider): revoke authorization code on PKCE failure
BobbyHo 663865a
fix: resolve remaining coder-agents-review findings on PKCE hardening
BobbyHo 912ce41
fix(docs/admin): document PKCE length and charset requirement
BobbyHo 9440708
fix: allow bare custom-scheme redirects for public clients
BobbyHo 450d037
fix(codersdk/oauth2_validation): state the real reason for the mailto…
BobbyHo 8c4a1c0
feat: derive OAuth2 client type from token_endpoint_auth_method
BobbyHo 1821ad4
fix: allow bare custom-scheme redirects for public clients (#28041)
BobbyHo c8b703d
Merge branch 'oauth2-pkce-verifier-length' into oauth2-public-clients…
BobbyHo 39e4beb
fix: pin OAuth2 client type across RFC 7592 updates
BobbyHo df7135d
Merge remote-tracking branch 'origin/main' into oauth2-public-clients…
BobbyHo 7c124e7
feat(coderd/oauth2provider): register public clients without a secret
BobbyHo 4725dec
Merge branch 'main' into oauth2-public-clients-vocabulary
BobbyHo 577538b
feat: accept PKCE-only token exchange for public clients
BobbyHo d93704d
docs: describe public client PKCE as proof of possession
BobbyHo aca591d
test(coderd): restructure public client token exchange and lifecycle …
BobbyHo 240db54
refactor(coderd/oauth2provider): read IsPublic at the branch that use…
BobbyHo 12e1cab
refactor(coderd/oauth2provider): scope the validated client secret to…
BobbyHo 29ec017
docs(coderd/oauth2provider): trim the revocation ownership comments t…
BobbyHo b5457af
docs(coderd): trim the public-client test comments to what they assert
BobbyHo 96083c0
feat: advertise the none token endpoint auth method in discovery
BobbyHo 6e510b7
Merge branch 'main' into oauth2-public-clients-vocabulary
BobbyHo 9198095
Merge branch 'oauth2-public-clients-vocabulary' into oauth2-public-cl…
BobbyHo 5a0bc6b
Merge branch 'oauth2-public-clients-registration' into oauth2-public-…
BobbyHo 432b2a5
docs: correct the public client token endpoint and redirect URI claims
BobbyHo 16b45cc
refactor(codersdk): derive auth method validity from one list
BobbyHo a336906
docs(coderd/oauth2provider): describe what the code ownership check b…
BobbyHo cb8fb61
Merge branch 'oauth2-public-clients-registration' into oauth2-public-…
BobbyHo ca01e04
docs: drop the caveat that public clients cannot obtain a token
BobbyHo 6acd7bc
docs(coderd/oauth2provider): use plainer wording in the client type c…
BobbyHo 794ed0d
Merge branch 'oauth2-public-clients-vocabulary' into oauth2-public-cl…
BobbyHo 38c3353
Merge branch 'main' into oauth2-public-clients-vocabulary
BobbyHo 21fdfed
Merge branch 'oauth2-public-clients-vocabulary' into oauth2-public-cl…
BobbyHo b9992c5
Merge branch 'oauth2-public-clients-registration' into oauth2-public-…
BobbyHo 83c02d7
Merge branch 'main' into oauth2-public-clients-vocabulary
BobbyHo e8cfef2
Merge branch 'main' into oauth2-public-clients-vocabulary
BobbyHo c347f5c
refactor(coderd/oauth2provider): name the client type change conjuncts
BobbyHo 99e26eb
refactor(codersdk): derive token endpoint auth method Valid from the …
BobbyHo f3e05bd
Merge remote-tracking branch 'origin/oauth2-public-clients-vocabulary…
BobbyHo 83a6495
Merge remote-tracking branch 'origin/main' into oauth2-public-clients…
BobbyHo 3d40daa
Merge branch 'main' into oauth2-public-clients-registration
BobbyHo c87521b
Merge branch 'oauth2-public-clients-registration' into oauth2-public-…
BobbyHo a7e132c
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo c5b4461
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo aada1ca
docs(coderd/oauth2provider): name the checks that bind the exchange
BobbyHo f4516c3
Merge remote-tracking branch 'origin/main' into oauth2-public-clients…
BobbyHo 02a7495
docs(codersdk): state what the token endpoint does with client type
BobbyHo 05c0580
test(coderd/oauth2provider): pin the advertised auth methods
BobbyHo 09a9cbe
docs: drop the public client aside from the code_verifier parameter
BobbyHo 8255649
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo 9f65876
test(coderd): drop positional anchors from public client comments
BobbyHo f2f0a9c
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo a938dad
feat: reject secret creation and fix reporting for public clients
BobbyHo ebb9b8e
test(coderd/oauth2provider): cover reported token_endpoint_auth_method
BobbyHo 9627868
docs: drop the redirect URI matching note
BobbyHo d32f432
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo 9cb8b0f
test(coderd/oauth2provider): pin the reported client_secret_post method
BobbyHo effb05b
fix(coderd): name the remedy when rejecting a public client secret
BobbyHo 3990e0c
docs(coderd): trim duplicated public client rationale
BobbyHo 1cf8857
Merge branch 'oauth2-public-clients-token-exchange' into oauth2-publi…
BobbyHo 476ffe2
Merge branch 'main' into oauth2-public-clients-token-exchange
BobbyHo 9c970ec
docs(coderd): drop godoc-style comments from the public client tests
BobbyHo 84dc33c
docs(coderd): match the older RFC 7636 comment to the trimmed one
BobbyHo 56c0c60
docs(coderd): drop the public client lifecycle test header
BobbyHo 8eb0be5
docs(coderd): drop godoc-style comments from the public client guard …
BobbyHo ff4d0f2
Merge branch 'oauth2-public-clients-token-exchange' into oauth2-publi…
BobbyHo fe643c3
Merge branch 'main' into oauth2-public-clients-guards
BobbyHo 2f5ec81
Merge branch 'main' into oauth2-public-clients-guards
BobbyHo 8e8eee7
chore(coderd): simplify comments on public client guards
BobbyHo c85e462
docs(docs/admin/integrations): one sentence per line in new paragraphs
BobbyHo 7e13ffa
Merge branch 'main' into oauth2-public-clients-guards
BobbyHo 0034474
docs(docs/admin/integrations): qualify when the legacy auth method mi…
BobbyHo ccadf55
docs: document the 400 response for creating a public client secret
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.