| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:58f247ce-33e7-f667-68ea-28212452a103 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F6A:31E99C:1DFFC4F:280286C:6B016F33 |
| html-safe-nonce | 619f3a153ff079032a43a70f1198b0610d2da6108a2bc0621d0626acdbe25059 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjZBOjMxRTk5QzoxREZGQzRGOjI4MDI4NkM6NkIwMTZGMzMiLCJ2aXNpdG9yX2lkIjoiNDk2NDYxMjg0NTk2MzY2OTI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 99abb994fda58baf933f36d66f68ba1b2d0fd56623034c39bae32221debd8463 |
| hovercard-subject-tag | pull_request:2901264742 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/20249/files |
| twitter:image | https://avatars.githubusercontent.com/u/2198487?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2198487?s=400&v=4 |
| og:image:alt | Add Token Scopes and Allow-List Support
This PR adds support for token scopes and resource allow-lists, enabling more granular control over API token permissions. Users can now:
Create and edit t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
| Skip to content | https://github.com/coder/coder/pull/20249/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20249%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20249%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/20249/files |
| Reload | https://github.com/coder/coder/pull/20249/files |
| Reload | https://github.com/coder/coder/pull/20249/files |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| ThomasK33 | https://github.com/ThomasK33 |
| thomask33/10-09-add_scope_catalog_api | https://github.com/coder/coder/tree/thomask33/10-09-add_scope_catalog_api |
| thomask33/10-09-add_token_scope_management | https://github.com/coder/coder/tree/thomask33/10-09-add_token_scope_management |
|
Conversation
1
| https://github.com/coder/coder/pull/20249 |
|
Commits
1
| https://github.com/coder/coder/pull/20249/commits |
|
Checks
0
| https://github.com/coder/coder/pull/20249/checks |
|
Files changed
| https://github.com/coder/coder/pull/20249/files |
| Please reload this page | https://github.com/coder/coder/pull/20249/files |
|
feat: add scopes and resource allow-list to API tokens
| https://github.com/coder/coder/pull/20249/files#top |
|
Show all changes
1 commit
| https://github.com/coder/coder/pull/20249/files |
|
28c5e34
feat: support scoped token management UI
ThomasK33 Sep 30, 2025
| https://github.com/coder/coder/pull/20249/commits/28c5e34c09b22c7a09e9e37c2e78a4b880347cc8 |
|
Clear filters
| https://github.com/coder/coder/pull/20249/files |
| Please reload this page | https://github.com/coder/coder/pull/20249/files |
| Please reload this page | https://github.com/coder/coder/pull/20249/files |
|
api.ts
| https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
|
tokens.ts
| https://github.com/coder/coder/pull/20249/files#diff-da977884747d0ecaedc459413d442516d82584d7b06703db26c0fe5c3afaaf3d |
|
MultiSelectCombobox.tsx
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
CreateTokenForm.tsx
| https://github.com/coder/coder/pull/20249/files#diff-ad2a18b5f67b7ce14d15ce293aa2ba53f44f9472e71e077b7d2a7128b3c844d7 |
|
CreateTokenPage.test.tsx
| https://github.com/coder/coder/pull/20249/files#diff-570e726782a5a3ce89a83aa0855f16c4d0a6ae4ea07693461c7321d0484bae09 |
|
CreateTokenPage.tsx
| https://github.com/coder/coder/pull/20249/files#diff-57f768b77bc1b2f4769743218ec1ab199525be927fd4ad27afebab766d0fc6e4 |
|
allowListOptions.ts
| https://github.com/coder/coder/pull/20249/files#diff-b4df1f09bb9b7d495ef68245a991bec2cf7b497019ccf96fa257668850f10926 |
|
useAllowListResolver.ts
| https://github.com/coder/coder/pull/20249/files#diff-ea71c0e4b0cad86046948c71d83cded0ec95a43e95c0efa5bfc186e7f97ee151 |
|
utils.ts
| https://github.com/coder/coder/pull/20249/files#diff-263defee549cd2a9eb7991a93618859c497160bcd42ae5141e12b2450491b86a |
|
EditTokenPage.test.tsx
| https://github.com/coder/coder/pull/20249/files#diff-0526a34ab39a9ef8f551cb8bf5ee86c74df7d98a315d151d935fe0e53ece30f7 |
|
EditTokenPage.tsx
| https://github.com/coder/coder/pull/20249/files#diff-ef5f3136e43b9c514edc5f2a5b4a647c487406ed809e4627f455b89d06175478 |
|
Layout.tsx
| https://github.com/coder/coder/pull/20249/files#diff-d7fe7d318d6ba45c905a317ec6f759bfbb52645ef2fb7276fbbb083cb0bf5cdd |
|
TokensPageView.tsx
| https://github.com/coder/coder/pull/20249/files#diff-0806ba640e0b9d1bb699282947b646a603e50a7750f24d6b1385397a75b814fa |
|
hooks.ts
| https://github.com/coder/coder/pull/20249/files#diff-7e46419355ebd49ca4d847a1234e0addf9f12a6fdbb42a7124780804a4744929 |
|
router.tsx
| https://github.com/coder/coder/pull/20249/files#diff-d89f36b8cdae08c93c3e7624c0c39db2472d5ed22ad7dffc17927dca57f4c045 |
| site/src/api/api.ts | https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
|
View file
| https://github.com/coder/coder/blob/28c5e34c09b22c7a09e9e37c2e78a4b880347cc8/site/src/api/api.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/20249/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
|
| https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
|
| https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
|
| https://github.com/coder/coder/pull/20249/files#diff-cb6c440037bca08f3d4d11a6a815f5966986d0ecdf133267e9956efa5e6fa323 |
| site/src/api/queries/tokens.ts | https://github.com/coder/coder/pull/20249/files#diff-da977884747d0ecaedc459413d442516d82584d7b06703db26c0fe5c3afaaf3d |
|
View file
| https://github.com/coder/coder/blob/28c5e34c09b22c7a09e9e37c2e78a4b880347cc8/site/src/api/queries/tokens.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/20249/{{ revealButtonHref }} |
| site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx | https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
View file
| https://github.com/coder/coder/blob/28c5e34c09b22c7a09e9e37c2e78a4b880347cc8/site/src/components/MultiSelectCombobox/MultiSelectCombobox.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/20249/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
|
| https://github.com/coder/coder/pull/20249/files#diff-8682cafdd47f73bcf24321b753ac21f0db10f6880a4fdbd8be9c6341ba4fc094 |
| Please reload this page | https://github.com/coder/coder/pull/20249/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |