René's URL Explorer Experiment


Title: fix: allow bare custom-scheme redirects for public clients by BobbyHo · Pull Request #28041 · coder/coder · GitHub

Open Graph Title: fix: allow bare custom-scheme redirects for public clients by BobbyHo · Pull Request #28041 · coder/coder

X Title: fix: allow bare custom-scheme redirects for public clients by BobbyHo · Pull Request #28041 · coder/coder

Description: Secure environments for developers and their agents - fix: allow bare custom-scheme redirects for public clients by BobbyHo · Pull Request #28041 · coder/coder

Open Graph Description: Split out of #27873 to make that PR smaller to review. First in the stack; the rest of the public-client work builds on this. isValidCustomScheme required a literal . in the scheme for a public cli...

X Description: Split out of #27873 to make that PR smaller to review. First in the stack; the rest of the public-client work builds on this. isValidCustomScheme required a literal . in the scheme for a public cli...

Opengraph URL: https://github.com/coder/coder/pull/28041

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ec55e1e5-132c-b4d4-d5a1-0c146eac9e14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE54:1C94F:12F5F11:1835BBB:6B01657B
html-safe-nonce8d0517bd8e77747fd94d8252b8fa08fae5688f4bf886e03aa74c0d3702ccf895
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTU0OjFDOTRGOjEyRjVGMTE6MTgzNUJCQjo2QjAxNjU3QiIsInZpc2l0b3JfaWQiOiI1MjU2NjM2NjE4ODM1NTg0Mzc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2e27c6319af5f35b8e4e659eea946abde290d35d7b85904576321e2bcd265f75
hovercard-subject-tagpull_request:4257272918
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/28041/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bfbbd607eb195534a831ed3dcd2f8cd634c38c10cea86bd4e3cf99b6d93a2660/coder/coder/pull/28041
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bfbbd607eb195534a831ed3dcd2f8cd634c38c10cea86bd4e3cf99b6d93a2660/coder/coder/pull/28041
og:image:altSplit out of #27873 to make that PR smaller to review. First in the stack; the rest of the public-client work builds on this. isValidCustomScheme required a literal . in the scheme for a public cli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBobbyHo
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/28041#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28041
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28041
Sign uphttps://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
Reloadhttps://github.com/coder/coder/pull/28041
Reloadhttps://github.com/coder/coder/pull/28041
Reloadhttps://github.com/coder/coder/pull/28041
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
BobbyHohttps://github.com/BobbyHo
oauth2-pkce-verifier-lengthhttps://github.com/coder/coder/tree/oauth2-pkce-verifier-length
oauth2-custom-scheme-fixhttps://github.com/coder/coder/tree/oauth2-custom-scheme-fix
Conversationhttps://github.com/coder/coder/pull/28041
Commits3 (3)https://github.com/coder/coder/pull/28041/commits
Checkshttps://github.com/coder/coder/pull/28041/checks
Files changedhttps://github.com/coder/coder/pull/28041/files
fix: allow bare custom-scheme redirects for public clientshttps://github.com/coder/coder/pull/28041#top
BobbyHohttps://github.com/BobbyHo
oauth2-pkce-verifier-lengthhttps://github.com/coder/coder/tree/oauth2-pkce-verifier-length
oauth2-custom-scheme-fixhttps://github.com/coder/coder/tree/oauth2-custom-scheme-fix
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 11, 2026https://github.com/coder/coder/pull/28041#issue-5124978548
Please reload this pagehttps://github.com/coder/coder/pull/28041
#27873https://github.com/coder/coder/pull/27873
https://linear.app/codercom/issue/ENG-3029/oauth2-support-public-clienthttps://linear.app/codercom/issue/ENG-3029/oauth2-support-public-client
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
BobbyHohttps://github.com/BobbyHo
Aug 11, 2026https://github.com/coder/coder/pull/28041#event-29307076154
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 11, 2026https://github.com/coder/coder/pull/28041#issuecomment-5259522910
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Aug 11, 2026https://github.com/coder/coder/pull/28041#issuecomment-5259523473
Please reload this pagehttps://github.com/coder/coder/pull/28041
View chathttps://dev.coder.com/agents/0fc05947-1b22-4294-843f-a9799eb4509e
@BobbyHohttps://github.com/BobbyHo
Reviewhttps://github.com/coder/coder/pull/28041#pullrequestreview-4911335177
912ce41..d95d4f9https://github.com/coder/coder/compare/912ce41b4bd02f62d5ae7035d0f24731524e2a02...d95d4f942a586c0c12b78eb8df3687c98f57ca20
Reviewhttps://github.com/coder/coder/pull/28041#pullrequestreview-4911335177
#28041https://github.com/coder/coder/pull/28041
912ce41https://github.com/coder/coder/commit/912ce41b4bd02f62d5ae7035d0f24731524e2a02
d95d4f9https://github.com/coder/coder/commit/d95d4f942a586c0c12b78eb8df3687c98f57ca20
Coder Agentshttps://coder.com
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 11, 2026https://github.com/coder/coder/pull/28041#event-29308080005
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Aug 11, 2026 https://github.com/coder/coder/pull/28041#pullrequestreview-4911335177
View reviewed changes https://github.com/coder/coder/pull/28041/files
coder-agents-reviewhttps://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/28041#pullrequestreview-4911335177
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/28041
codersdk/oauth2_validation.gohttps://github.com/coder/coder/pull/28041/files#diff-6ace253b66df342932fa672882be60cbe3ae643b62ee92ba428715bc0ec9bf8c
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 11, 2026 https://github.com/coder/coder/pull/28041#ref-pullrequest-5125309708
feat: derive OAuth2 client type from token_endpoint_auth_method #28043 https://github.com/coder/coder/pull/28043
https://github.com/BobbyHo
fix: allow bare custom-scheme redirects for public clientshttps://github.com/coder/coder/pull/28041/commits/9440708f1697be490aa0dda3287186a10fabe3d7
9440708https://github.com/coder/coder/pull/28041/commits/9440708f1697be490aa0dda3287186a10fabe3d7
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
force-pushedhttps://github.com/coder/coder/compare/d95d4f942a586c0c12b78eb8df3687c98f57ca20..9440708f1697be490aa0dda3287186a10fabe3d7
d95d4f9https://github.com/coder/coder/commit/d95d4f942a586c0c12b78eb8df3687c98f57ca20
9440708https://github.com/coder/coder/commit/9440708f1697be490aa0dda3287186a10fabe3d7
Compare https://github.com/coder/coder/compare/d95d4f942a586c0c12b78eb8df3687c98f57ca20..9440708f1697be490aa0dda3287186a10fabe3d7
August 12, 2026 00:07https://github.com/coder/coder/pull/28041#event-29311282965
https://github.com/BobbyHo
fix(codersdk/oauth2_validation): state the real reason for the mailto…https://github.com/coder/coder/pull/28041/commits/450d0377839565e63ee654d1ce14569645c09455
450d037https://github.com/coder/coder/pull/28041/commits/450d0377839565e63ee654d1ce14569645c09455
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
August 12, 2026 00:39https://github.com/coder/coder/pull/28041#event-29312315606
https://github.com/apps/coderagents
coderagentshttps://github.com/apps/coderagents
Aug 12, 2026https://github.com/coder/coder/pull/28041#issuecomment-5260725920
Please reload this pagehttps://github.com/coder/coder/pull/28041
Callback URL schemeshttps://github.com/coder/coder/blob/main/docs/admin/integrations/oauth2-provider.md#callback-url-schemes
Security Considerationshttps://github.com/coder/coder/blob/main/docs/admin/integrations/oauth2-provider.md#security-considerations
Coder Agentshttps://coder.com/docs/ai-coder/agents
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Emyrkhttps://github.com/Emyrk
August 12, 2026 03:26https://github.com/coder/coder/pull/28041#event-29317205061
https://github.com/BobbyHo
docs(oauth2-provider): document mailto/tel/sms rejection for public c…https://github.com/coder/coder/pull/28041/commits/7e616a3fd6e70539c135096adc6760dac9882839
7e616a3https://github.com/coder/coder/pull/28041/commits/7e616a3fd6e70539c135096adc6760dac9882839
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 12, 2026https://github.com/coder/coder/pull/28041#issuecomment-5261966386
Please reload this pagehttps://github.com/coder/coder/pull/28041
docs/admin/integrations/oauth2-provider.mdhttps://coder.com/docs/@oauth2-custom-scheme-fix/admin/integrations/oauth2-provider
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/jdomeracki-coder
jdomeracki-coderhttps://github.com/jdomeracki-coder
August 12, 2026 08:18https://github.com/coder/coder/pull/28041#event-29327616153
https://github.com/jdomeracki-coder
jdomeracki-coderhttps://github.com/jdomeracki-coder
Aug 12, 2026 https://github.com/coder/coder/pull/28041#pullrequestreview-4916037159
View reviewed changes https://github.com/coder/coder/pull/28041/files/7e616a3fd6e70539c135096adc6760dac9882839
jdomeracki-coderhttps://github.com/jdomeracki-coder
https://github.com/coder/coder/pull/28041#pullrequestreview-4916037159
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
1821ad4https://github.com/coder/coder/commit/1821ad4ca366de9c53ce0710f4eb28ad23c31f4b
Aug 12, 2026https://github.com/coder/coder/pull/28041#event-29346232728
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
August 12, 2026 14:36https://github.com/coder/coder/pull/28041#event-29346236352
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026 https://github.com/coder/coder/pull/28041#ref-pullrequest-5113815447
fix: reject PKCE code_verifier below RFC 7636 length floor #28003 https://github.com/coder/coder/pull/28003
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026 https://github.com/coder/coder/pull/28041#ref-commit-209d1ca
https://github.com/BobbyHo
fix: reject PKCE code_verifier below RFC 7636 length floor (https://github.com/coder/coder/commit/209d1ca498c39b110ad4536b237f837a49249212
#28003https://github.com/coder/coder/pull/28003
)https://github.com/coder/coder/commit/209d1ca498c39b110ad4536b237f837a49249212
209d1cahttps://github.com/coder/coder/commit/209d1ca498c39b110ad4536b237f837a49249212
#28041https://github.com/coder/coder/pull/28041
#27873https://github.com/coder/coder/pull/27873
BobbyHohttps://github.com/BobbyHo
Aug 19, 2026 https://github.com/coder/coder/pull/28041#ref-commit-663f41f
https://github.com/BobbyHo
feat: derive OAuth2 client type from token_endpoint_auth_method (https://github.com/coder/coder/commit/663f41ffa9da8b8fae83844ff7ba44160c956293
#28043https://github.com/coder/coder/pull/28043
)https://github.com/coder/coder/commit/663f41ffa9da8b8fae83844ff7ba44160c956293
663f41fhttps://github.com/coder/coder/commit/663f41ffa9da8b8fae83844ff7ba44160c956293
#27873https://github.com/coder/coder/pull/27873
#28041https://github.com/coder/coder/pull/28041
https://linear.app/codercom/issue/ENG-3029/oauth2-support-public-clienthttps://linear.app/codercom/issue/ENG-3029/oauth2-support-public-client
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 26, 2026 https://github.com/coder/coder/pull/28041#ref-pullrequest-5125815550
feat: accept PKCE-only token exchange for public clients #28047 https://github.com/coder/coder/pull/28047
BobbyHohttps://github.com/BobbyHo
Aug 31, 2026 https://github.com/coder/coder/pull/28041#ref-commit-9be61a0
https://github.com/BobbyHo
feat: accept PKCE-only token exchange for public clients (https://github.com/coder/coder/commit/9be61a0c654b2e7497d0948a93cf55293b1742eb
#28047https://github.com/coder/coder/pull/28047
)https://github.com/coder/coder/commit/9be61a0c654b2e7497d0948a93cf55293b1742eb
9be61a0https://github.com/coder/coder/commit/9be61a0c654b2e7497d0948a93cf55293b1742eb
#27873https://github.com/coder/coder/pull/27873
#27712https://github.com/coder/coder/pull/27712
#28041https://github.com/coder/coder/pull/28041
#28043https://github.com/coder/coder/pull/28043
#28046https://github.com/coder/coder/pull/28046
#28047https://github.com/coder/coder/pull/28047
#28043https://github.com/coder/coder/pull/28043
https://linear.app/codercom/issue/ENG-3029/oauth2-support-public-clienthttps://linear.app/codercom/issue/ENG-3029/oauth2-support-public-client
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 31, 2026 https://github.com/coder/coder/pull/28041#ref-pullrequest-5136570949
feat: reject secret creation and fix reporting for public clients #28097 https://github.com/coder/coder/pull/28097
BobbyHohttps://github.com/BobbyHo
Sep 1, 2026 https://github.com/coder/coder/pull/28041#ref-commit-20a41c0
https://github.com/BobbyHo
feat: reject secret creation and fix reporting for public clients (https://github.com/coder/coder/commit/20a41c067e248fd7cfc2eaa8179effdf249c8bbf
#2…https://github.com/coder/coder/pull/28097
20a41c0https://github.com/coder/coder/commit/20a41c067e248fd7cfc2eaa8179effdf249c8bbf
…8097https://github.com/coder/coder/pull/28097
#28047https://github.com/coder/coder/pull/28047
#27873https://github.com/coder/coder/pull/27873
#28046https://github.com/coder/coder/pull/28046
#28047https://github.com/coder/coder/pull/28047
#27712https://github.com/coder/coder/pull/27712
#28041https://github.com/coder/coder/pull/28041
#28043https://github.com/coder/coder/pull/28043
#28046https://github.com/coder/coder/pull/28046
#28047https://github.com/coder/coder/pull/28047
#28097https://github.com/coder/coder/pull/28097
#27712https://github.com/coder/coder/pull/27712
#28043https://github.com/coder/coder/pull/28043
#28043https://github.com/coder/coder/pull/28043
https://linear.app/codercom/issue/ENG-3029/oauth2-support-public-clienthttps://linear.app/codercom/issue/ENG-3029/oauth2-support-public-client
#28043https://github.com/coder/coder/pull/28043
#28043https://github.com/coder/coder/pull/28043
#28045https://github.com/coder/coder/pull/28045
#28043https://github.com/coder/coder/pull/28043
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28041
https://github.com/jdomeracki-coder
jdomeracki-coder https://github.com/jdomeracki-coder
https://github.com/coder/coder/pull/28041/files/7e616a3fd6e70539c135096adc6760dac9882839
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
https://github.com/apps/coder-agents-review
coder-agents-review[bot] https://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/28041/files/d95d4f942a586c0c12b78eb8df3687c98f57ca20
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
BobbyHo https://github.com/BobbyHo
Please reload this pagehttps://github.com/coder/coder/pull/28041
https://github.com/BobbyHo
https://github.com/jdomeracki-coder
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.