Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add OAuth2 client credentials grant type and user ownership#18841

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ThomasK33 wants to merge1 commit intothomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
base:thomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens
Choose a base branch
Loading
fromthomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership

Conversation

ThomasK33
Copy link
Member

  • 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 Kosiewskitk@coder.com

@ThomasK33Graphite App
Copy link
MemberAuthor

ThomasK33 commentedJul 12, 2025
edited
Loading

@ThomasK33ThomasK33 changed the titlefeat(oauth2): add client credentials grant type and user ownershipfeat: add OAuth2 client credentials grant type and user ownershipJul 12, 2025
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch 3 times, most recently frombd2e4f2 tof44982cCompareJuly 12, 2025 14:41
@ThomasK33ThomasK33 marked this pull request as ready for reviewJuly 13, 2025 10:36
@ThomasK33ThomasK33force-pushed thethomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens branch from50a22db to93a1a1dCompareJuly 14, 2025 12:43
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch fromf44982c toc654948CompareJuly 14, 2025 12:43
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch fromc654948 toeac2681CompareJuly 14, 2025 16:22
@ThomasK33ThomasK33force-pushed thethomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens branch from93a1a1d to5c7f06aCompareJuly 14, 2025 16:22
@ThomasK33ThomasK33 changed the base branch fromthomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens tographite-base/18841July 14, 2025 17:10
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch fromeac2681 toac0d1f6CompareJuly 14, 2025 17:18
@ThomasK33ThomasK33 changed the base branch fromgraphite-base/18841 tothomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokensJuly 14, 2025 17:19
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch fromac0d1f6 toef3c66eCompareJuly 15, 2025 17:27
@ThomasK33ThomasK33force-pushed thethomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens branch from0393465 to643824aCompareJuly 15, 2025 17:27
- 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 fieldsChange-Id: I11901919656c86c51e7c808324e2df5205eda002Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33ThomasK33force-pushed thethomask33/07-10-feat_add_cleanup_for_expired_oauth2_provider_app_codes_and_tokens branch from643824a tof2c16b5CompareJuly 17, 2025 14:38
@ThomasK33ThomasK33force-pushed thethomask33/07-12-feat_oauth2_add_client_credentials_grant_type_and_user_ownership branch fromef3c66e to3f1495cCompareJuly 17, 2025 14:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@EmyrkEmyrkAwaiting requested review from Emyrk

@johnstcnjohnstcnAwaiting requested review from johnstcn

@aslilacaslilacAwaiting requested review from aslilacaslilac is a code owner

Assignees

@ThomasK33ThomasK33

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ThomasK33

[8]ページ先頭

©2009-2025 Movatter.jp