René's URL Explorer Experiment


Title: refactor: define session token link handlers once in codersdk by dylanhuff-at-coder · Pull Request #31767 · coder/coder · GitHub

Open Graph Title: refactor: define session token link handlers once in codersdk by dylanhuff-at-coder · Pull Request #31767 · coder/coder

X Title: refactor: define session token link handlers once in codersdk by dylanhuff-at-coder · Pull Request #31767 · coder/coder

Description: Secure environments for developers and their agents - refactor: define session token link handlers once in codersdk by dylanhuff-at-coder · Pull Request #31767 · coder/coder

Open Graph Description: Follow-up to #31721. coder open app and the dashboard each kept their own copy of the deep-link handlers that may receive the session token. The shared test fixture from #31721 catches the two chec...

X Description: Follow-up to #31721. coder open app and the dashboard each kept their own copy of the deep-link handlers that may receive the session token. The shared test fixture from #31721 catches the two chec...

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

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:4ebf56f1-594b-3351-ee42-369d97c7a46f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECD2:CC1A4:15E42D8:1BD6D32:6B01316B
html-safe-nonce6089a77d4b1f2674a2fd0177adc604c1ef942cb065235025ca5bf843b601f641
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0QyOkNDMUE0OjE1RTQyRDg6MUJENkQzMjo2QjAxMzE2QiIsInZpc2l0b3JfaWQiOiIzOTY4MjE3ODY4MjI2NjA1NDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac64ed727fd0551f93ff22da1d4591615c1b4e72decd49e63bb7d80cb7b8ae751f
hovercard-subject-tagpull_request:5165775294
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/31767/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a1f1dc4a9aaa4f83afb30fe5283d276f3b03a9760e930fafccba7f8ba50d8068/coder/coder/pull/31767
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a1f1dc4a9aaa4f83afb30fe5283d276f3b03a9760e930fafccba7f8ba50d8068/coder/coder/pull/31767
og:image:altFollow-up to #31721. coder open app and the dashboard each kept their own copy of the deep-link handlers that may receive the session token. The shared test fixture from #31721 catches the two chec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedylanhuff-at-coder
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/31767#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31767
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%2F31767
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/31767
Reloadhttps://github.com/coder/coder/pull/31767
Reloadhttps://github.com/coder/coder/pull/31767
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)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
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
mainhttps://github.com/coder/coder/tree/main
dylan/codersdk-session-token-handlershttps://github.com/coder/coder/tree/dylan/codersdk-session-token-handlers
Conversationhttps://github.com/coder/coder/pull/31767
Commits14 (14)https://github.com/coder/coder/pull/31767/commits
Checkshttps://github.com/coder/coder/pull/31767/checks
Files changedhttps://github.com/coder/coder/pull/31767/files
refactor: define session token link handlers once in codersdkhttps://github.com/coder/coder/pull/31767#top
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
mainhttps://github.com/coder/coder/tree/main
dylan/codersdk-session-token-handlershttps://github.com/coder/coder/tree/dylan/codersdk-session-token-handlers
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31767#issue-6216339267
Please reload this pagehttps://github.com/coder/coder/pull/31767
#31721https://github.com/coder/coder/pull/31721
#31721https://github.com/coder/coder/pull/31721
#31721https://github.com/coder/coder/pull/31721
#31721https://github.com/coder/coder/pull/31721
@EhabYhttps://github.com/EhabY
#31261https://github.com/coder/coder/pull/31261
#31721https://github.com/coder/coder/pull/31721
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/coder/coder/pull/31767
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 3, 2026 14:24https://github.com/coder/coder/pull/31767#commits-pushed-2a3e5a2
https://github.com/dylanhuff-at-coder
https://github.com/claude
fix(cli): only add the session token to trusted app links in coder op…https://github.com/coder/coder/pull/31767/commits/2a3e5a2f93d1dd6860fd99539108ee460abb1f56
2a3e5a2https://github.com/coder/coder/pull/31767/commits/2a3e5a2f93d1dd6860fd99539108ee460abb1f56
https://github.com/dylanhuff-at-coder
https://github.com/claude
docs: explain when external app links receive a session tokenhttps://github.com/coder/coder/pull/31767/commits/7119342c96e6ca0e0316160019d59e5419383398
7119342https://github.com/coder/coder/pull/31767/commits/7119342c96e6ca0e0316160019d59e5419383398
https://github.com/dylanhuff-at-coder
https://github.com/claude
fix: match URLSearchParams and reject non-ASCII hosts in trusted app …https://github.com/coder/coder/pull/31767/commits/c1813c219392a3e511c282c864cb372e350aa2d4
c1813c2https://github.com/coder/coder/pull/31767/commits/c1813c219392a3e511c282c864cb372e350aa2d4
https://github.com/dylanhuff-at-coder
https://github.com/claude
test(cli): cover dashboard URL trust in coder open apphttps://github.com/coder/coder/pull/31767/commits/949207c8ba3431e194c438de41b869ef1bf3a568
949207chttps://github.com/coder/coder/pull/31767/commits/949207c8ba3431e194c438de41b869ef1bf3a568
https://github.com/dylanhuff-at-coder
https://github.com/claude
docs: limit the untrusted-link note to links with the placeholderhttps://github.com/coder/coder/pull/31767/commits/9d170699539c4a37b6b68eb0272c90683010917d
9d17069https://github.com/coder/coder/pull/31767/commits/9d170699539c4a37b6b68eb0272c90683010917d
https://github.com/dylanhuff-at-coder
https://github.com/claude
fix(cli): parse trusted app link params and ports like the dashboardhttps://github.com/coder/coder/pull/31767/commits/58aa2c6d780254f28dff66b61191bbc533c26701
58aa2c6https://github.com/coder/coder/pull/31767/commits/58aa2c6d780254f28dff66b61191bbc533c26701
https://github.com/dylanhuff-at-coder
https://github.com/claude
test: share session token destination cases between the CLI and dashb…https://github.com/coder/coder/pull/31767/commits/01d2c0ec4620895fa81cb591442380b578278842
01d2c0ehttps://github.com/coder/coder/pull/31767/commits/01d2c0ec4620895fa81cb591442380b578278842
https://github.com/dylanhuff-at-coder
https://github.com/claude
test(site/src/modules/apps): use the fixture's inferred type and a re…https://github.com/coder/coder/pull/31767/commits/ed696b137afa19a1251c072e8049bed38d09e39a
ed696b1https://github.com/coder/coder/pull/31767/commits/ed696b137afa19a1251c072e8049bed38d09e39a
https://github.com/dylanhuff-at-coder
https://github.com/EhabY
https://github.com/claude
refactor: define session token link handlers once in codersdkhttps://github.com/coder/coder/pull/31767/commits/6938dad7e3dd8eea33f3c31e3e26c181b2a15d6b
6938dadhttps://github.com/coder/coder/pull/31767/commits/6938dad7e3dd8eea33f3c31e3e26c181b2a15d6b
https://github.com/dylanhuff-at-coder
https://github.com/claude
refactor: name the authority index and trim the handler commenthttps://github.com/coder/coder/pull/31767/commits/cacc80845ca43048cc611836df0d153df44c6b7b
cacc808https://github.com/coder/coder/pull/31767/commits/cacc80845ca43048cc611836df0d153df44c6b7b
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31767#event-35201946062
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 4, 2026 19:49https://github.com/coder/coder/pull/31767#commits-pushed-8c9cec1
https://github.com/dylanhuff-at-coder
Merge remote-tracking branch 'origin/main' into dylan/cli-open-app-tr…https://github.com/coder/coder/pull/31767/commits/8c9cec10e0391fc8c4b97af5d01bcccac9039a97
8c9cec1https://github.com/coder/coder/pull/31767/commits/8c9cec10e0391fc8c4b97af5d01bcccac9039a97
https://github.com/dylanhuff-at-coder
https://github.com/claude
docs: fix the dev containers link after the docs moveshttps://github.com/coder/coder/pull/31767/commits/9e0f103d8ba89167b65ebde2ffe448713f0209bc
9e0f103https://github.com/coder/coder/pull/31767/commits/9e0f103d8ba89167b65ebde2ffe448713f0209bc
https://github.com/dylanhuff-at-coder
Merge remote-tracking branch 'origin/dylan/cli-open-app-trusted-token…https://github.com/coder/coder/pull/31767/commits/dce01d6c21e6793542ad53475bae4944a3176ffd
dce01d6https://github.com/coder/coder/pull/31767/commits/dce01d6c21e6793542ad53475bae4944a3176ffd
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 5, 2026 17:28https://github.com/coder/coder/pull/31767#event-35268245880
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026 https://github.com/coder/coder/pull/31767#ref-pullrequest-6038673300
fix: apply dashboard app link rules to coder open app #31261 https://github.com/coder/coder/pull/31261
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 5, 2026 17:38https://github.com/coder/coder/pull/31767#event-35269134901
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31767#event-35269136352
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 5, 2026https://github.com/coder/coder/pull/31767#event-35269151006
https://github.com/dylanhuff-at-coder
Merge remote-tracking branch 'origin/main' into dylan/codersdk-sessio…https://github.com/coder/coder/pull/31767/commits/80aad78fba5a040d11e7a0b82f554a525cf7c013
80aad78https://github.com/coder/coder/pull/31767/commits/80aad78fba5a040d11e7a0b82f554a525cf7c013
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Nov 5, 2026https://github.com/coder/coder/pull/31767#event-35269276791
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
SasSwarthttps://github.com/SasSwart
jdomeracki-coderhttps://github.com/jdomeracki-coder
johnstcnhttps://github.com/johnstcn
ssncferreirahttps://github.com/ssncferreira
code ownershttps://github.com/coder/coder/blob/9e0f103d8ba89167b65ebde2ffe448713f0209bc/CODEOWNERS#L31
November 5, 2026 17:39https://github.com/coder/coder/pull/31767#event-35269277891
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 5, 2026 17:39https://github.com/coder/coder/pull/31767#event-35269283866
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 5, 2026 17:40https://github.com/coder/coder/pull/31767#event-35269297023
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 9, 2026 21:23https://github.com/coder/coder/pull/31767#event-35616010323
https://github.com/dylanhuff-at-coder
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
November 9, 2026 21:23https://github.com/coder/coder/pull/31767#event-35616018426
GitHub Actionshttps://github.com/apps/github-actions
https://github.com/ssncferreira
ssncferreirahttps://github.com/ssncferreira
November 12, 2026 10:07https://github.com/coder/coder/pull/31767#event-35898528112
https://github.com/SasSwart
SasSwarthttps://github.com/SasSwart
Nov 17, 2026https://github.com/coder/coder/pull/31767#issuecomment-6942195816
@dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
Please reload this pagehttps://github.com/coder/coder/pull/31767
https://github.com/SasSwart
SasSwarthttps://github.com/SasSwart
Nov 17, 2026 https://github.com/coder/coder/pull/31767#pullrequestreview-5934903544
View reviewed changes https://github.com/coder/coder/pull/31767/files/80aad78fba5a040d11e7a0b82f554a525cf7c013
dylanhuff-at-coderhttps://github.com/dylanhuff-at-coder
cla #252851https://github.com/coder/coder/actions/runs/42702086175
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31767
https://github.com/SasSwart
SasSwart https://github.com/SasSwart
https://github.com/coder/coder/pull/31767/files/80aad78fba5a040d11e7a0b82f554a525cf7c013
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/jdomeracki-coder
jdomeracki-coder https://github.com/jdomeracki-coder
Please reload this pagehttps://github.com/coder/coder/pull/31767
https://github.com/dylanhuff-at-coder
dylanhuff-at-coder https://github.com/dylanhuff-at-coder
Please reload this pagehttps://github.com/coder/coder/pull/31767
https://github.com/dylanhuff-at-coder
https://github.com/SasSwart
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.