| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:7d157176-2a4b-7ade-02e8-df053b9fc4d1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E7B8:2B0738:C079B0:104CB96:6A5322B8 |
| html-safe-nonce | d06799bb28ce5f1d8f0d06ff252f05b04360fb5f43b4802479cdfdf3029be488 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0I4OjJCMDczODpDMDc5QjA6MTA0Q0I5Njo2QTUzMjJCOCIsInZpc2l0b3JfaWQiOiIzMzgwMjk1Njk1MDM0Njg4MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6394f9bd00ef49fe548152c2f191f66f5dfc261c561a09a1040bb28ff93260a4 |
| hovercard-subject-tag | pull_request:2924665663 |
| 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 |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/20362 |
| twitter:image | https://opengraph.githubassets.com/5e7838c7431fb54d10fffe847dbb7df15db37f2470aba0ea4838aeb89f0de3df/coder/coder/pull/20362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e7838c7431fb54d10fffe847dbb7df15db37f2470aba0ea4838aeb89f0de3df/coder/coder/pull/20362 |
| og:image:alt | Taken from #18809
The linked PR is too big, refactored some functions and fixed the test.
What this does
Adds RFC 7009 token revocation endpoint |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Emyrk |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/coder/pull/20362#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20362 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F20362 |
|
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&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/20362 |
| Reload | https://github.com/coder/coder/pull/20362 |
| Reload | https://github.com/coder/coder/pull/20362 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
|
coder
| https://github.com/coder |
| coder | https://github.com/coder/coder |
|
Notifications
| https://github.com/login?return_to=%2Fcoder%2Fcoder |
|
Fork
1.4k
| https://github.com/login?return_to=%2Fcoder%2Fcoder |
|
Star
13.8k
| https://github.com/login?return_to=%2Fcoder%2Fcoder |
|
Code
| https://github.com/coder/coder |
|
Issues
761
| https://github.com/coder/coder/issues |
|
Pull requests
175
| 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 quality
28
| https://github.com/coder/coder/security |
|
Insights
| https://github.com/coder/coder/pulse |
|
Code
| https://github.com/coder/coder |
|
Issues
| https://github.com/coder/coder/issues |
|
Pull requests
| 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 quality
| https://github.com/coder/coder/security |
|
Insights
| https://github.com/coder/coder/pulse |
| Emyrk | https://github.com/Emyrk |
| main | https://github.com/coder/coder/tree/main |
| stevenmasley/revoke_oauth | https://github.com/coder/coder/tree/stevenmasley/revoke_oauth |
| Conversation | https://github.com/coder/coder/pull/20362 |
| Commits11 (11) | https://github.com/coder/coder/pull/20362/commits |
| Checks | https://github.com/coder/coder/pull/20362/checks |
| Files changed | https://github.com/coder/coder/pull/20362/files |
| feat: implement oauth2 RFC 7009 token revocation endpoint | https://github.com/coder/coder/pull/20362#top |
| Emyrk | https://github.com/Emyrk |
| main | https://github.com/coder/coder/tree/main |
| stevenmasley/revoke_oauth | https://github.com/coder/coder/tree/stevenmasley/revoke_oauth |
|
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| Oct 17, 2025 | https://github.com/coder/coder/pull/20362#issue-3526385803 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| #18809 | https://github.com/coder/coder/pull/18809 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Emyrk | https://github.com/Emyrk |
| Oct 17, 2025 | https://github.com/coder/coder/pull/20362#event-20345972891 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| Oct 17, 2025 | https://github.com/coder/coder/pull/20362#event-20346025055 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| October 17, 2025 15:00 | https://github.com/coder/coder/pull/20362#event-20346613980 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| ThomasK33 | https://github.com/ThomasK33 |
| code-asher | https://github.com/code-asher |
| October 17, 2025 15:37 | https://github.com/coder/coder/pull/20362#event-20347333358 |
| https://github.com/ThomasK33 |
| ThomasK33 | https://github.com/ThomasK33 |
|
Oct 17, 2025
| https://github.com/coder/coder/pull/20362#pullrequestreview-3350894046 |
|
View reviewed changes
| https://github.com/coder/coder/pull/20362/files |
| coderd/database/dbauthz/dbauthz.go | https://github.com/coder/coder/pull/20362/files#diff-5f3bb5c12d02726be93737d8bb2f1bbe034792f4254af2ae1d139b737dd67e77 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2_test.go | https://github.com/coder/coder/pull/20362/files#diff-92e9a528ba24e3a3b55232e1307fca71f7d4b5ee1145ff84e7351dacd694b575 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2_test.go | https://github.com/coder/coder/pull/20362/files#diff-92e9a528ba24e3a3b55232e1307fca71f7d4b5ee1145ff84e7351dacd694b575 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/secrets.go | https://github.com/coder/coder/pull/20362/files#diff-ac59fcb921af50e10ba88fbb5b7537ae0598a91f7fc10827099547af18d48809 |
| ThomasK33 | https://github.com/ThomasK33 |
| Oct 17, 2025 | https://github.com/coder/coder/pull/20362#discussion_r2440443730 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| Emyrk | https://github.com/Emyrk |
| Oct 17, 2025 | https://github.com/coder/coder/pull/20362#discussion_r2440475385 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| https://github.com/code-asher |
| code-asher | https://github.com/code-asher |
|
Oct 20, 2025
| https://github.com/coder/coder/pull/20362#pullrequestreview-3357620461 |
|
View reviewed changes
| https://github.com/coder/coder/pull/20362/files |
| code-asher | https://github.com/code-asher |
| https://github.com/coder/coder/pull/20362#pullrequestreview-3357620461 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/oauth2provider/revoke.go | https://github.com/coder/coder/pull/20362/files#diff-213ec3273ae9d846fc9353a1b62cede9d1b5b779ee111222a20b8036729b075c |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| coderd/coderd.go | https://github.com/coder/coder/pull/20362/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| Emyrk | https://github.com/Emyrk |
| October 22, 2025 12:47 | https://github.com/coder/coder/pull/20362#commits-pushed-b5359c1 |
|
| https://github.com/Emyrk |
| feat: oauth2 RFC 7009 token revocation endpoint | https://github.com/coder/coder/pull/20362/commits/b5359c16723bc15968f2cfdc541b00b89ba65973 |
| b5359c1 | https://github.com/coder/coder/pull/20362/commits/b5359c16723bc15968f2cfdc541b00b89ba65973 |
|
| https://github.com/Emyrk |
| test: add unit test to use oauth2 client and revocation | https://github.com/coder/coder/pull/20362/commits/1605377e6c58d1052b4298c9450c24ba47fc0a17 |
| 1605377 | https://github.com/coder/coder/pull/20362/commits/1605377e6c58d1052b4298c9450c24ba47fc0a17 |
|
| https://github.com/Emyrk |
| linting | https://github.com/coder/coder/pull/20362/commits/090beba1414300d5fac2bc870e8d78d9b9a940fd |
| 090beba | https://github.com/coder/coder/pull/20362/commits/090beba1414300d5fac2bc870e8d78d9b9a940fd |
|
| https://github.com/Emyrk |
| make gen | https://github.com/coder/coder/pull/20362/commits/94dc46e172517d48aeb58e09afbfb4cdf8e01798 |
| 94dc46e | https://github.com/coder/coder/pull/20362/commits/94dc46e172517d48aeb58e09afbfb4cdf8e01798 |
|
| https://github.com/Emyrk |
| fix rbac subject logged type | https://github.com/coder/coder/pull/20362/commits/7110ef1cb7856601556b67fd77205c41a52dfb6e |
| 7110ef1 | https://github.com/coder/coder/pull/20362/commits/7110ef1cb7856601556b67fd77205c41a52dfb6e |
|
| https://github.com/Emyrk |
| add refresh token validation | https://github.com/coder/coder/pull/20362/commits/4c9ccded1eb9d99c084701f22aa45cf86d247521 |
| 4c9ccde | https://github.com/coder/coder/pull/20362/commits/4c9ccded1eb9d99c084701f22aa45cf86d247521 |
|
| https://github.com/Emyrk |
| remove client_id check from revoke body | https://github.com/coder/coder/pull/20362/commits/822b677b0f606f0944af4c273cd4172e9b0508c3 |
| 822b677 | https://github.com/coder/coder/pull/20362/commits/822b677b0f606f0944af4c273cd4172e9b0508c3 |
|
| https://github.com/Emyrk |
| PR feedback | https://github.com/coder/coder/pull/20362/commits/5603be85eb938efe02b90e5d75c26934ef18924f |
| 5603be8 | https://github.com/coder/coder/pull/20362/commits/5603be85eb938efe02b90e5d75c26934ef18924f |
|
| https://github.com/Emyrk |
| fe test update | https://github.com/coder/coder/pull/20362/commits/0d1fc1d8343683c0043a845864ee08f100f147c0 |
| 0d1fc1d | https://github.com/coder/coder/pull/20362/commits/0d1fc1d8343683c0043a845864ee08f100f147c0 |
|
| https://github.com/Emyrk |
| make gen | https://github.com/coder/coder/pull/20362/commits/daf8ce35c608d513515c27821037f04d7c39350c |
| daf8ce3 | https://github.com/coder/coder/pull/20362/commits/daf8ce35c608d513515c27821037f04d7c39350c |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| force-pushed | https://github.com/coder/coder/compare/31a1f6ff676cd3e95da41ff24e3cbb10c1dbc15c..daf8ce35c608d513515c27821037f04d7c39350c |
| 31a1f6f | https://github.com/coder/coder/commit/31a1f6ff676cd3e95da41ff24e3cbb10c1dbc15c |
| daf8ce3 | https://github.com/coder/coder/commit/daf8ce35c608d513515c27821037f04d7c39350c |
|
Compare
| https://github.com/coder/coder/compare/31a1f6ff676cd3e95da41ff24e3cbb10c1dbc15c..daf8ce35c608d513515c27821037f04d7c39350c |
| October 22, 2025 17:48 | https://github.com/coder/coder/pull/20362#event-20436736140 |
|
| https://github.com/Emyrk |
| make gen | https://github.com/coder/coder/pull/20362/commits/f5e71364b2a908995cbe53d708f90a95c00c4878 |
| f5e7136 | https://github.com/coder/coder/pull/20362/commits/f5e71364b2a908995cbe53d708f90a95c00c4878 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| 4bd7c7b | https://github.com/coder/coder/commit/4bd7c7b7e08a9113db0e5c0bbb40ba140acfcd53 |
| Oct 22, 2025 | https://github.com/coder/coder/pull/20362#event-20439682060 |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
| https://github.com/Emyrk |
| Emyrk | https://github.com/Emyrk |
| October 22, 2025 20:18 | https://github.com/coder/coder/pull/20362#event-20439682733 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 22, 2025 | https://github.com/coder/coder/pull/20362#event-20439686979 |
| 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%2F20362 |
|
| https://github.com/ThomasK33 |
|
ThomasK33
| https://github.com/ThomasK33 |
|
| https://github.com/coder/coder/pull/20362/files/003f72f38a410cae016ff1b728e31a2635f217ed |
|
| https://github.com/code-asher |
|
code-asher
| https://github.com/code-asher |
|
| https://github.com/coder/coder/pull/20362/files/003f72f38a410cae016ff1b728e31a2635f217ed |
|
| https://github.com/Emyrk |
|
Emyrk
| https://github.com/Emyrk |
| Please reload this page | https://github.com/coder/coder/pull/20362 |
|
| https://github.com/Emyrk |
|
| https://github.com/ThomasK33 |
|
| https://github.com/code-asher |
|
| 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 |