- Notifications
You must be signed in to change notification settings - Fork1k
Commit59463e3
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 parent4a7aa03 commit59463e3
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 changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1206 | 1206 |
| |
1207 | 1207 |
| |
1208 | 1208 |
| |
| 1209 | + | |
1209 | 1210 |
| |
1210 | 1211 |
| |
1211 | 1212 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
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 | + |
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)