feat: add OAuth2 client credentials grant type and user ownership#18841
Conversation
This was referenced Jul 12, 2025
Member
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
bd2e4f2 to
f44982c
Compare
50a22db to
93a1a1d
Compare
f44982c to
c654948
Compare
This was referenced Jul 14, 2025
c654948 to
eac2681
Compare
93a1a1d to
5c7f06a
Compare
eac2681 to
ac0d1f6
Compare
5c7f06a to
0393465
Compare
ac0d1f6 to
ef3c66e
Compare
0393465 to
643824a
Compare
643824a to
f2c16b5
Compare
ef3c66e to
3f1495c
Compare
3f1495c to
2fc275d
Compare
2fc275d to
59463e3
Compare
4a7aa03 to
0c3e711
Compare
487fa65 to
c5bbc6e
Compare
0c3e711 to
67b504e
Compare
- Add client_credentials to OAuth2ProviderGrantType enum - Add user_id column to oauth2_provider_apps for ownership tracking - Make refresh_hash nullable for client credentials tokens per RFC 6749 - Update API schemas to use proper OAuth2 enums for grant/response types - Add grant_types field to OAuth2 app create/update requests - Support user-scoped client credentials apps vs system-scoped auth flows - Update database queries and models for new fields Change-Id: I11901919656c86c51e7c808324e2df5205eda002 Signed-off-by: Thomas Kosiewski <tk@coder.com>
67b504e to
fa6dc8d
Compare
c5bbc6e to
c659bbc
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Change-Id: I11901919656c86c51e7c808324e2df5205eda002
Signed-off-by: Thomas Kosiewski tk@coder.com