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. |
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
3 times, most recently
from
July 12, 2025 14:41
bd2e4f2 to
f44982c
Compare
ThomasK33
marked this pull request as ready for review
July 13, 2025 10:36
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
July 14, 2025 12:43
50a22db to
93a1a1d
Compare
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 14, 2025 12:43
f44982c to
c654948
Compare
This was referenced Jul 14, 2025
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 14, 2025 16:22
c654948 to
eac2681
Compare
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
July 14, 2025 16:22
93a1a1d to
5c7f06a
Compare
ThomasK33
changed the base branch from
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
to
graphite-base/18841
July 14, 2025 17:10
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 14, 2025 17:18
eac2681 to
ac0d1f6
Compare
ThomasK33
force-pushed
the
graphite-base/18841
branch
from
July 14, 2025 17:18
5c7f06a to
0393465
Compare
ThomasK33
changed the base branch from
graphite-base/18841
to
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
July 14, 2025 17:19
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 15, 2025 17:27
ac0d1f6 to
ef3c66e
Compare
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
July 15, 2025 17:27
0393465 to
643824a
Compare
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
July 17, 2025 14:38
643824a to
f2c16b5
Compare
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 17, 2025 14:38
ef3c66e to
3f1495c
Compare
aslilac
removed their request for review
July 23, 2025 16:35
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
July 23, 2025 16:53
3f1495c to
2fc275d
Compare
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
August 12, 2025 16:32
2fc275d to
59463e3
Compare
ThomasK33
deleted the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
September 15, 2025 07:52
ThomasK33
restored the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
September 15, 2025 07:53
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
October 10, 2025 14:42
4a7aa03 to
0c3e711
Compare
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
2 times, most recently
from
October 10, 2025 14:53
487fa65 to
c5bbc6e
Compare
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
October 10, 2025 14:53
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>
ThomasK33
force-pushed
the
thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
branch
from
October 10, 2025 14:57
67b504e to
fa6dc8d
Compare
ThomasK33
force-pushed
the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
from
October 10, 2025 14:57
c5bbc6e to
c659bbc
Compare
johnstcn
removed their request for review
January 26, 2026 09:22
github-actions
Bot
deleted the
thomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership
branch
May 2, 2026 00:23
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