Title: API: token create/list/update with scopes[] and allow_list[] · Issue #19853 · coder/coder · GitHub
Open Graph Title: API: token create/list/update with scopes[] and allow_list[] · Issue #19853 · coder/coder
X Title: API: token create/list/update with scopes[] and allow_list[] · Issue #19853 · coder/coder
Description: Description Extend token management endpoints to accept and return scopes: string[] and allow_list: string[]. Validate requested scopes against the catalog; reject unknown names. Enforce user’s role intersection: a scoped key cannot be u...
Open Graph Description: Description Extend token management endpoints to accept and return scopes: string[] and allow_list: string[]. Validate requested scopes against the catalog; reject unknown names. Enforce user’s rol...
X Description: Description Extend token management endpoints to accept and return scopes: string[] and allow_list: string[]. Validate requested scopes against the catalog; reject unknown names. Enforce user’s rol...
Opengraph URL: https://github.com/coder/coder/issues/19853
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API: token create/list/update with scopes[] and allow_list[]","articleBody":"Description\n\n- Extend token management endpoints to accept and return `scopes: string[]` and `allow_list: string[]`.\n- Validate requested scopes against the catalog; reject unknown names.\n- Enforce user’s role intersection: a scoped key cannot be used to mint a broader-scoped key than the caller is authorized to create.\n\nKey files/areas\n\n- `coderd/apikey.go` handlers and request/response types.\n- Swagger annotations to update generated API docs.\n\nAcceptance criteria\n\n- New request/response shapes reflected in `docs/reference/api/*` after generation.\n- Authorization tests cover “cannot mint elevated scopes”.","author":{"url":"https://github.com/ThomasK33","@type":"Person","name":"ThomasK33"},"datePublished":"2025-09-17T14:05:50Z","url":"https://github.com/coder/coder/issues/19853"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6a4952a9-4f33-ef2f-a45f-208ee9000d0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8454:7D034:A50FF:DA19F:6B015970 |
| html-safe-nonce | 421621834e2528764d6d229ab69d3a2259e1089745dd10e9bc814cdbdd13f183 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDU0OjdEMDM0OkE1MEZGOkRBMTlGOjZCMDE1OTcwIiwidmlzaXRvcl9pZCI6IjIxMDc4Mzc4NTg5NTI4NjIwNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 69785fb3183e4219495bf761509d173260bc1dc14c3344df839f2a496fe9e77f |
| hovercard-subject-tag | issue:3426468508 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/19853/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9cd2a60cf9562d76e7538c460131d2f9e203ecf751823ea6b3bbd41322c8d1e/coder/coder/issues/19853 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9cd2a60cf9562d76e7538c460131d2f9e203ecf751823ea6b3bbd41322c8d1e/coder/coder/issues/19853 |
| og:image:alt | Description Extend token management endpoints to accept and return scopes: string[] and allow_list: string[]. Validate requested scopes against the catalog; reject unknown names. Enforce user’s rol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThomasK33 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width