- Notifications
You must be signed in to change notification settings - Fork947
Commitac0d1f6
committed
feat(oauth2): add client credentials grant type and user ownership
- 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>1 parent0393465 commitac0d1f6
File tree
27 files changed
+840
-84
lines changed- coderd
- apidoc
- database
- dbgen
- migrations
- queries
- oauth2provider
- oauthpki
- codersdk
- docs
- admin/security
- reference/api
- enterprise/audit
- site/src/api
27 files changed
+840
-84
lines changedLines changed: 40 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 36 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1159 | 1159 |
| |
1160 | 1160 |
| |
1161 | 1161 |
| |
| 1162 | + | |
1162 | 1163 |
| |
1163 | 1164 |
| |
1164 | 1165 |
| |
|
Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + |
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)