| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a6d5138f-fbfb-b2c3-cc90-a322aea39cf6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A36E:B53AF:1AE504E:23C1FDD:6B0159B3 |
| html-safe-nonce | fc69bb13e3250518ccd3f8268891fe7dbe9bd9b5d96e156175a5797c6e272bb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzZFOkI1M0FGOjFBRTUwNEU6MjNDMUZERDo2QjAxNTlCMyIsInZpc2l0b3JfaWQiOiI1MTAzNjUyMDgyNzc1MzE2OTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eab3198c547aae4d2749969fc541850053c12250c067af1c64bbc1c0e2831eaa |
| hovercard-subject-tag | pull_request:4389900312 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/28751/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/224253ec1576be4448e6e22f6bbc23861ab6d3fc00b4eecf8635a79617b8201e/coder/coder/pull/28751 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/224253ec1576be4448e6e22f6bbc23861ab6d3fc00b4eecf8635a79617b8201e/coder/coder/pull/28751 |
| og:image:alt | TL;DR
First of three in PLAT-481, the last phase of PLAT-470. POST /oauth2/tokens parsed a refresh request's scope and discarded it, so a client asking for less was handed the broader token it ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BobbyHo |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | pull-requests |
| Skip to content | https://github.com/coder/coder/pull/28751#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28751 |
| 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%2F28751 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/28751 |
| Reload | https://github.com/coder/coder/pull/28751 |
| Reload | https://github.com/coder/coder/pull/28751 |
| 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 |
| https://github.com/coder/coder |
| BobbyHo | https://github.com/BobbyHo |
| main | https://github.com/coder/coder/tree/main |
| plat481-1-narrow-refresh-scope | https://github.com/coder/coder/tree/plat481-1-narrow-refresh-scope |
| Conversation | https://github.com/coder/coder/pull/28751 |
| Commits129 (129) | https://github.com/coder/coder/pull/28751/commits |
| Checks | https://github.com/coder/coder/pull/28751/checks |
| Files changed | https://github.com/coder/coder/pull/28751/files |
| feat: let an OAuth2 refresh narrow the granted scope | https://github.com/coder/coder/pull/28751#top |
| BobbyHo | https://github.com/BobbyHo |
| main | https://github.com/coder/coder/tree/main |
| plat481-1-narrow-refresh-scope | https://github.com/coder/coder/tree/plat481-1-narrow-refresh-scope |
|
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| Aug 29, 2026 | https://github.com/coder/coder/pull/28751#issue-5284462491 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| PLAT-481 | https://linear.app/codercom/issue/PLAT-481 |
| #28237 | https://github.com/coder/coder/pull/28237 |
| #28740 | https://github.com/coder/coder/pull/28740 |
| #28744 | https://github.com/coder/coder/pull/28744 |
| #28751 | https://github.com/coder/coder/pull/28751 |
| PLAT-481 | https://linear.app/codercom/issue/PLAT-481 |
| #28237 | https://github.com/coder/coder/pull/28237 |
| #28740 | https://github.com/coder/coder/pull/28740 |
| #28744 | https://github.com/coder/coder/pull/28744 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| BobbyHo | https://github.com/BobbyHo |
| August 14, 2026 17:02 | https://github.com/coder/coder/pull/28751#commits-pushed-a672066 |
|
| https://github.com/BobbyHo |
| feat(coderd/rbac): compare scopes by permission coverage | https://github.com/coder/coder/pull/28751/commits/a6720664d7125a70e5e1407f513c5451b161bfb5 |
| a672066 | https://github.com/coder/coder/pull/28751/commits/a6720664d7125a70e5e1407f513c5451b161bfb5 |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat479-1-rbac-scope-coverage | https://github.com/coder/coder/pull/28751/commits/4315706ed62335823ec556eb11ff1b93aac4075d |
| 4315706 | https://github.com/coder/coder/pull/28751/commits/4315706ed62335823ec556eb11ff1b93aac4075d |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| docs(coderd/rbac): shorten the ScopesCover doc comment | https://github.com/coder/coder/pull/28751/commits/787c4614f0358259851ef89713f516915fa586bf |
| 787c461 | https://github.com/coder/coder/pull/28751/commits/787c4614f0358259851ef89713f516915fa586bf |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat479-1-rbac-scope-coverage | https://github.com/coder/coder/pull/28751/commits/2d39e04a63dedf25975cee5a859896333d6b2833 |
| 2d39e04 | https://github.com/coder/coder/pull/28751/commits/2d39e04a63dedf25975cee5a859896333d6b2833 |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| fix(coderd/rbac): guard allowed-side org and user permissions | https://github.com/coder/coder/pull/28751/commits/2f6c44e3c80e388be7986ef0d13f4f4ea414f42f |
| 2f6c44e | https://github.com/coder/coder/pull/28751/commits/2f6c44e3c80e388be7986ef0d13f4f4ea414f42f |
|
| https://github.com/BobbyHo |
| refactor(coderd/rbac): drop the unreachable negative skip in coverage | https://github.com/coder/coder/pull/28751/commits/bd4027025da8a84ddb5aef9aa9b7e1ae5ed9348f |
| bd40270 | https://github.com/coder/coder/pull/28751/commits/bd4027025da8a84ddb5aef9aa9b7e1ae5ed9348f |
|
| https://github.com/BobbyHo |
| test(coderd/rbac): pin the scope coverage table's weak assertions | https://github.com/coder/coder/pull/28751/commits/3139c54fe0dfda18835de1c73ca9530d5f82ff71 |
| 3139c54 | https://github.com/coder/coder/pull/28751/commits/3139c54fe0dfda18835de1c73ca9530d5f82ff71 |
|
| https://github.com/BobbyHo |
| refactor(coderd/rbac): make the coverage guards reachable from tests | https://github.com/coder/coder/pull/28751/commits/9276bb87f42eac8ad8aa9a103ed43c535aab7c21 |
| 9276bb8 | https://github.com/coder/coder/pull/28751/commits/9276bb87f42eac8ad8aa9a103ed43c535aab7c21 |
|
| https://github.com/BobbyHo |
| refactor(coderd/rbac): share the alias table and name the canonical c… | https://github.com/coder/coder/pull/28751/commits/865eb9a56785dd737235fa613f8592e87909bff4 |
| 865eb9a | https://github.com/coder/coder/pull/28751/commits/865eb9a56785dd737235fa613f8592e87909bff4 |
|
| https://github.com/BobbyHo |
| docs(coderd/rbac): document the expansion invariant where it can be b… | https://github.com/coder/coder/pull/28751/commits/26a6bed5766575d018bb6a86291a832557f3afe7 |
| 26a6bed | https://github.com/coder/coder/pull/28751/commits/26a6bed5766575d018bb6a86291a832557f3afe7 |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat479-1-rbac-scope-coverage | https://github.com/coder/coder/pull/28751/commits/7cca7b318f665dd81645ba5df7eabca2ab779b31 |
| 7cca7b3 | https://github.com/coder/coder/pull/28751/commits/7cca7b318f665dd81645ba5df7eabca2ab779b31 |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| test(coderd/rbac): pin the coverage guards at one strength | https://github.com/coder/coder/pull/28751/commits/1678a77a661a4d644e69abaf1c852fec8d3327cf |
| 1678a77 | https://github.com/coder/coder/pull/28751/commits/1678a77a661a4d644e69abaf1c852fec8d3327cf |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| fix(coderd/rbac): name the scope once in expansion errors | https://github.com/coder/coder/pull/28751/commits/aba3c6c0f78d08bc0a7a9d2b1428cbb257229ae0 |
| aba3c6c | https://github.com/coder/coder/pull/28751/commits/aba3c6c0f78d08bc0a7a9d2b1428cbb257229ae0 |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| docs(coderd/rbac): correct the external scope list contract | https://github.com/coder/coder/pull/28751/commits/9a081051b0f37b9db5fe7adb65d29bffa47f7cbc |
| 9a08105 | https://github.com/coder/coder/pull/28751/commits/9a081051b0f37b9db5fe7adb65d29bffa47f7cbc |
|
| https://github.com/BobbyHo |
|
| https://github.com/claude |
| docs(coderd/rbac): trim the restated coverage invariant | https://github.com/coder/coder/pull/28751/commits/2fcce8b2d67271e006310cf3acbc9adf2a2d3225 |
| 2fcce8b | https://github.com/coder/coder/pull/28751/commits/2fcce8b2d67271e006310cf3acbc9adf2a2d3225 |
|
| https://github.com/BobbyHo |
| docs(coderd/rbac): correct the negative permission cross-reference | https://github.com/coder/coder/pull/28751/commits/a775a482cd28ccb1c9a1d96d066cd7c16ea69764 |
| a775a48 | https://github.com/coder/coder/pull/28751/commits/a775a482cd28ccb1c9a1d96d066cd7c16ea69764 |
|
| https://github.com/BobbyHo |
| docs(coderd/rbac): name every category IsExternalScope admits | https://github.com/coder/coder/pull/28751/commits/e0c0d4ac5d7bbd5589ad8a82351680a7be6255f6 |
| e0c0d4a | https://github.com/coder/coder/pull/28751/commits/e0c0d4ac5d7bbd5589ad8a82351680a7be6255f6 |
|
| https://github.com/BobbyHo |
| test(coderd/rbac): pin the alias list invariants on the alias table | https://github.com/coder/coder/pull/28751/commits/189740dc21566573255a81bc839eba054f92afa9 |
| 189740d | https://github.com/coder/coder/pull/28751/commits/189740dc21566573255a81bc839eba054f92afa9 |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat479-1-rbac-scope-coverage | https://github.com/coder/coder/pull/28751/commits/7d08e492a0a9efbded2ad94b9ad0941a79e2786e |
| 7d08e49 | https://github.com/coder/coder/pull/28751/commits/7d08e492a0a9efbded2ad94b9ad0941a79e2786e |
|
| https://github.com/BobbyHo |
| feat(coderd/oauth2provider): negotiate and persist authorization scope | https://github.com/coder/coder/pull/28751/commits/ca4dc522eb6ac82ef953843002ad9594b9bf2302 |
| ca4dc52 | https://github.com/coder/coder/pull/28751/commits/ca4dc522eb6ac82ef953843002ad9594b9bf2302 |
|
| https://github.com/BobbyHo |
| feat(site): state the negotiated scope on the OAuth2 consent page | https://github.com/coder/coder/pull/28751/commits/f402e1a44bf772bcaf351662aa3f06da27a44601 |
| f402e1a | https://github.com/coder/coder/pull/28751/commits/f402e1a44bf772bcaf351662aa3f06da27a44601 |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): return invalid_scope to the client's call… | https://github.com/coder/coder/pull/28751/commits/28ef5bab04c5195b46419e1aee2e01f96831b51b |
| 28ef5ba | https://github.com/coder/coder/pull/28751/commits/28ef5bab04c5195b46419e1aee2e01f96831b51b |
|
| https://github.com/BobbyHo |
| test(coderd/rbac): close two mutation gaps in scope coverage tests | https://github.com/coder/coder/pull/28751/commits/62950d36e12d2b822f908f0f710acee36270f144 |
| 62950d3 | https://github.com/coder/coder/pull/28751/commits/62950d36e12d2b822f908f0f710acee36270f144 |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat479-2-negotiate-scope | https://github.com/coder/coder/pull/28751/commits/554a70319cba347ca892f1a4e9e6397d273efeba |
| 554a703 | https://github.com/coder/coder/pull/28751/commits/554a70319cba347ca892f1a4e9e6397d273efeba |
|
| https://github.com/BobbyHo |
| refactor(coderd/oauth2provider): rename validateRequestedScope to neg… | https://github.com/coder/coder/pull/28751/commits/09bc1b4e8584888058d5c1662f8fc30bed427066 |
| 09bc1b4 | https://github.com/coder/coder/pull/28751/commits/09bc1b4e8584888058d5c1662f8fc30bed427066 |
|
| https://github.com/BobbyHo |
| test(coderd/oauth2provider): bind the wire-level scope reasons to the… | https://github.com/coder/coder/pull/28751/commits/6fe6c7100ca41248b57e2cc5f37ede6d86025bc9 |
| 6fe6c71 | https://github.com/coder/coder/pull/28751/commits/6fe6c7100ca41248b57e2cc5f37ede6d86025bc9 |
|
| https://github.com/BobbyHo |
| refactor(coderd): log undecidable oauth2 scope coverage instead of re… | https://github.com/coder/coder/pull/28751/commits/e296ddab0fe10237ef368d6f3e97a4e0d970c085 |
| e296dda | https://github.com/coder/coder/pull/28751/commits/e296ddab0fe10237ef368d6f3e97a4e0d970c085 |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): name the stored allowlist when none of it… | https://github.com/coder/coder/pull/28751/commits/2760db5789ad5cff95d6ef8bbc801d1875a9033e |
| 2760db5 | https://github.com/coder/coder/pull/28751/commits/2760db5789ad5cff95d6ef8bbc801d1875a9033e |
|
| https://github.com/BobbyHo |
| refactor(coderd/oauth2provider): reword the oauth2 scope rejection re… | https://github.com/coder/coder/pull/28751/commits/5b2ca577787838a5278b32b0976929fc554bcccd |
| 5b2ca57 | https://github.com/coder/coder/pull/28751/commits/5b2ca577787838a5278b32b0976929fc554bcccd |
|
| https://github.com/BobbyHo |
| docs: correct what the oauth2 authorize scope parameter promises | https://github.com/coder/coder/pull/28751/commits/90a6f8381dc228f76da6839f2d2bacd2717aae33 |
| 90a6f83 | https://github.com/coder/coder/pull/28751/commits/90a6f8381dc228f76da6839f2d2bacd2717aae33 |
|
| https://github.com/BobbyHo |
| Merge branch 'plat480-3-single-use-code' into plat481-1-narrow-refres… | https://github.com/coder/coder/pull/28751/commits/361f66914769eb99a5d09c10ab81b75dd1de3b2a |
| 361f669 | https://github.com/coder/coder/pull/28751/commits/361f66914769eb99a5d09c10ab81b75dd1de3b2a |
| #28744 | https://github.com/coder/coder/pull/28744 |
| #28740 | https://github.com/coder/coder/pull/28740 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| Sep 4, 2026 | https://github.com/coder/coder/pull/28751#issuecomment-5534687950 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
|
| https://github.com/BobbyHo |
| docs(coderd/oauth2provider): correct the canonicalization cross-refer… | https://github.com/coder/coder/pull/28751/commits/85030f82e03a091167741e1b216123683cf3b1fa |
| 85030f8 | https://github.com/coder/coder/pull/28751/commits/85030f82e03a091167741e1b216123683cf3b1fa |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
|
Sep 4, 2026
| https://github.com/coder/coder/pull/28751#pullrequestreview-5108748627 |
|
View reviewed changes
| https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa |
| BobbyHo | https://github.com/BobbyHo |
| https://github.com/coder/coder/pull/28751#pullrequestreview-5108748627 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #28744 | https://github.com/coder/coder/pull/28744 |
| #28744 | https://github.com/coder/coder/pull/28744 |
| #28744 | https://github.com/coder/coder/pull/28744 |
| @BobbyHo | https://github.com/BobbyHo |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
|
Sep 4, 2026
| https://github.com/coder/coder/pull/28751#pullrequestreview-5115049640 |
|
View reviewed changes
| https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa |
| BobbyHo | https://github.com/BobbyHo |
| https://github.com/coder/coder/pull/28751#pullrequestreview-5115049640 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| docs/admin/integrations/oauth2-provider.md | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-45214b5c2eed3fbe50a4000a697fa5370506d7659e81214a2ce59294d54d15c6 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens_test.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-4cac59e52f6599aba6212974ead5f58ce514210a658d219e640a7a6d94375d3b |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/authorize.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-16c9187ffd65e00660165034ab8befef52008459d9701b360ba9853d79cbe297 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/authorize.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-16c9187ffd65e00660165034ab8befef52008459d9701b360ba9853d79cbe297 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/tokens.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-b7cdb379f8db8561c7e6cdb6423de679c8c7ed955cadce0322817679c00c9caf |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| coderd/oauth2provider/authorize.go | https://github.com/coder/coder/pull/28751/files/85030f82e03a091167741e1b216123683cf3b1fa#diff-16c9187ffd65e00660165034ab8befef52008459d9701b360ba9853d79cbe297 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| BobbyHo | https://github.com/BobbyHo |
| September 4, 2026 16:26 | https://github.com/coder/coder/pull/28751#commits-pushed-ec80733 |
|
| https://github.com/BobbyHo |
| test(coderd/oauth2provider): assert the winner's token survives a ref… | https://github.com/coder/coder/pull/28751/commits/ec80733c2cab199363942b318f054a6b15b450cb |
| ec80733 | https://github.com/coder/coder/pull/28751/commits/ec80733c2cab199363942b318f054a6b15b450cb |
|
| https://github.com/BobbyHo |
| refactor(coderd): fold the duplicated app code delete into one query | https://github.com/coder/coder/pull/28751/commits/98e6191fc64d8fb7a1458c181941f2144321dd99 |
| 98e6191 | https://github.com/coder/coder/pull/28751/commits/98e6191fc64d8fb7a1458c181941f2144321dd99 |
|
| https://github.com/BobbyHo |
| docs(coderd): say why the code is deleted, and where single use can b… | https://github.com/coder/coder/pull/28751/commits/15cc66f4002357f89e37f8818cabb6860e57701f |
| 15cc66f | https://github.com/coder/coder/pull/28751/commits/15cc66f4002357f89e37f8818cabb6860e57701f |
|
| https://github.com/BobbyHo |
| test(coderd/oauth2provider): enforce the redemption overlap in the test | https://github.com/coder/coder/pull/28751/commits/b64f11108d97d987d4c1f828638408444830febb |
| b64f111 | https://github.com/coder/coder/pull/28751/commits/b64f11108d97d987d4c1f828638408444830febb |
|
| https://github.com/BobbyHo |
| Merge branch 'plat480-3-single-use-code' into plat481-1-narrow-refres… | https://github.com/coder/coder/pull/28751/commits/270bfb535de664ef69be31923f9ad1b1cbba020a |
| 270bfb5 | https://github.com/coder/coder/pull/28751/commits/270bfb535de664ef69be31923f9ad1b1cbba020a |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): bound and sanitize the token endpoint's e… | https://github.com/coder/coder/pull/28751/commits/f644e52e35beddcde20d275cc4a2b35c33237c7e |
| f644e52 | https://github.com/coder/coder/pull/28751/commits/f644e52e35beddcde20d275cc4a2b35c33237c7e |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): narrow the access token, not the grant | https://github.com/coder/coder/pull/28751/commits/663fa85c7bd91cbffeff44cad5d134bd89d7b386 |
| 663fa85 | https://github.com/coder/coder/pull/28751/commits/663fa85c7bd91cbffeff44cad5d134bd89d7b386 |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): name the way out when a refresh cannot widen | https://github.com/coder/coder/pull/28751/commits/8f87b2d5ce3005821b01d20bc44df069fc73b863 |
| 8f87b2d | https://github.com/coder/coder/pull/28751/commits/8f87b2d5ce3005821b01d20bc44df069fc73b863 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| force-pushed | https://github.com/coder/coder/compare/6cb2588759b0a7b353ea43ca0a7d3731c3dffcb6..8f87b2d5ce3005821b01d20bc44df069fc73b863 |
| 6cb2588 | https://github.com/coder/coder/commit/6cb2588759b0a7b353ea43ca0a7d3731c3dffcb6 |
| 8f87b2d | https://github.com/coder/coder/commit/8f87b2d5ce3005821b01d20bc44df069fc73b863 |
|
Compare
| https://github.com/coder/coder/compare/6cb2588759b0a7b353ea43ca0a7d3731c3dffcb6..8f87b2d5ce3005821b01d20bc44df069fc73b863 |
| September 5, 2026 03:35 | https://github.com/coder/coder/pull/28751#event-30594275726 |
| BobbyHo | https://github.com/BobbyHo |
| September 5, 2026 03:59 | https://github.com/coder/coder/pull/28751#commits-pushed-f54bbbc |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): canonicalize the ceiling once in narrowAc… | https://github.com/coder/coder/pull/28751/commits/f54bbbcfa94d892454b87c77f5027568c31720f8 |
| f54bbbc | https://github.com/coder/coder/pull/28751/commits/f54bbbcfa94d892454b87c77f5027568c31720f8 |
|
| https://github.com/BobbyHo |
| refactor(coderd/oauth2provider): address the review's nits and notes | https://github.com/coder/coder/pull/28751/commits/8d5f1684b327dbc445d5ec9b22386c28e6e2f0f6 |
| 8d5f168 | https://github.com/coder/coder/pull/28751/commits/8d5f1684b327dbc445d5ec9b22386c28e6e2f0f6 |
|
| https://github.com/BobbyHo |
| docs(admin/integrations): file the refresh narrowing under the code i… | https://github.com/coder/coder/pull/28751/commits/e1b4f0631a1991bc91bb5c04a524b794268ef94d |
| e1b4f06 | https://github.com/coder/coder/pull/28751/commits/e1b4f0631a1991bc91bb5c04a524b794268ef94d |
|
| https://github.com/BobbyHo |
| test(coderd/oauth2provider): assert through the endpoint, not around it | https://github.com/coder/coder/pull/28751/commits/2ba380a22985c294665bef3182eb9c0a91bb9e00 |
| 2ba380a | https://github.com/coder/coder/pull/28751/commits/2ba380a22985c294665bef3182eb9c0a91bb9e00 |
|
| https://github.com/BobbyHo |
| fix(coderd/oauth2provider): honour scope on the exchange, and log sco… | https://github.com/coder/coder/pull/28751/commits/755b5a12196dd6377d6119d7e36474fe1cb88551 |
| 755b5a1 | https://github.com/coder/coder/pull/28751/commits/755b5a12196dd6377d6119d7e36474fe1cb88551 |
| f54bbbc | https://github.com/coder/coder/commit/f54bbbcfa94d892454b87c77f5027568c31720f8 |
|
| https://github.com/BobbyHo |
| docs(coderd/oauth2provider): trim the scope comments | https://github.com/coder/coder/pull/28751/commits/e1f3f75d7d709893c60203808c8739333b6a04f4 |
| e1f3f75 | https://github.com/coder/coder/pull/28751/commits/e1f3f75d7d709893c60203808c8739333b6a04f4 |
| September 8, 2026 23:42 | https://github.com/coder/coder/pull/28751#event-30791570061 |
|
| https://github.com/BobbyHo |
| Merge remote-tracking branch 'origin/main' into plat481-1-narrow-refr… | https://github.com/coder/coder/pull/28751/commits/8d1c4f851c75c7a01d6e5af2a5c58fd31e1b4d80 |
| 8d1c4f8 | https://github.com/coder/coder/pull/28751/commits/8d1c4f851c75c7a01d6e5af2a5c58fd31e1b4d80 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| September 9, 2026 03:40 | https://github.com/coder/coder/pull/28751#event-30800348791 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| dylanhuff-at-coder | https://github.com/dylanhuff-at-coder |
| September 9, 2026 03:40 | https://github.com/coder/coder/pull/28751#event-30800353344 |
| BobbyHo | https://github.com/BobbyHo |
| September 9, 2026 07:43 | https://github.com/coder/coder/pull/28751#commits-pushed-a8e768e |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat481-1-narrow-refresh-scope | https://github.com/coder/coder/pull/28751/commits/a8e768e2f9664f5922247669e073341f7a94d893 |
| a8e768e | https://github.com/coder/coder/pull/28751/commits/a8e768e2f9664f5922247669e073341f7a94d893 |
|
| https://github.com/BobbyHo |
| Merge branch 'main' into plat481-1-narrow-refresh-scope | https://github.com/coder/coder/pull/28751/commits/3cb7260b77fe1a6487a1542f22e021d9af314eac |
| 3cb7260 | https://github.com/coder/coder/pull/28751/commits/3cb7260b77fe1a6487a1542f22e021d9af314eac |
| https://github.com/dylanhuff-at-coder |
| dylanhuff-at-coder | https://github.com/dylanhuff-at-coder |
|
Sep 9, 2026
| https://github.com/coder/coder/pull/28751#pullrequestreview-5158075145 |
|
View reviewed changes
| https://github.com/coder/coder/pull/28751/files/3cb7260b77fe1a6487a1542f22e021d9af314eac |
| dylanhuff-at-coder | https://github.com/dylanhuff-at-coder |
| https://github.com/coder/coder/pull/28751#pullrequestreview-5158075145 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| 9f27e2b | https://github.com/coder/coder/commit/9f27e2b17cb2802f336b0a0a0a702cee325e054b |
| Sep 9, 2026 | https://github.com/coder/coder/pull/28751#event-30849442364 |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
| https://github.com/BobbyHo |
| BobbyHo | https://github.com/BobbyHo |
| September 9, 2026 18:08 | https://github.com/coder/coder/pull/28751#event-30849445705 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Sep 9, 2026 | https://github.com/coder/coder/pull/28751#event-30849450944 |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28751 |
|
| https://github.com/dylanhuff-at-coder |
|
dylanhuff-at-coder
| https://github.com/dylanhuff-at-coder |
|
| https://github.com/coder/coder/pull/28751/files/3cb7260b77fe1a6487a1542f22e021d9af314eac |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
|
| https://github.com/BobbyHo |
|
BobbyHo
| https://github.com/BobbyHo |
| Please reload this page | https://github.com/coder/coder/pull/28751 |
|
| https://github.com/BobbyHo |
|
| https://github.com/dylanhuff-at-coder |
|
| 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 |