René's URL Explorer Experiment


Title: feat(backend): Limit handshake to document requests by brkalow · Pull Request #2352 · clerk/javascript · GitHub

Open Graph Title: feat(backend): Limit handshake to document requests by brkalow · Pull Request #2352 · clerk/javascript

X Title: feat(backend): Limit handshake to document requests by brkalow · Pull Request #2352 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - feat(backend): Limit handshake to document requests by brkalow · Pull Request #2352 · clerk/javascript

Open Graph Description: Description Limit the handshake flow to document requests. We identify this by checking for the presence of the Sec-Fetch-Dest header with the value document. For browsers that don't support ...

X Description: Description Limit the handshake flow to document requests. We identify this by checking for the presence of the Sec-Fetch-Dest header with the value document. For browsers that don't supp...

Opengraph URL: https://github.com/clerk/javascript/pull/2352

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:0cb99d6c-51ae-77bc-9a38-e61d93c0eb86
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6E6:23AF91:53B87F8:6ED077E:6AFAA743
html-safe-nonce198c144eaf6c564a3286d2a5106d0451eb4717022f85f39569cfba0fd495fb9b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkU2OjIzQUY5MTo1M0I4N0Y4OjZFRDA3N0U6NkFGQUE3NDMiLCJ2aXNpdG9yX2lkIjoiNjMzMDY3Mjk3Nzc4MDgzNjUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacef4bfa8852ae75f9036a62857c880d4027bcfc680111b2185abaf4ac61c93a77
hovercard-subject-tagpull_request:1644593829
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/clerk/javascript/2352/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8d655c3b3a1790350a2d7729a105be0cf35a7a776aeb88407e7baeca6c1b1380/clerk/javascript/pull/2352
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d655c3b3a1790350a2d7729a105be0cf35a7a776aeb88407e7baeca6c1b1380/clerk/javascript/pull/2352
og:image:altDescription Limit the handshake flow to document requests. We identify this by checking for the presence of the Sec-Fetch-Dest header with the value document. For browsers that don't support ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrkalow
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/2352#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2352
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%2Fclerk%2Fjavascript%2Fpull%2F2352
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=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/2352
Reloadhttps://github.com/clerk/javascript/pull/2352
Reloadhttps://github.com/clerk/javascript/pull/2352
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
SokratisVidroshttps://github.com/SokratisVidros
mainhttps://github.com/clerk/javascript/tree/main
brk.feat/handshake-fetchhttps://github.com/clerk/javascript/tree/brk.feat/handshake-fetch
Conversationhttps://github.com/clerk/javascript/pull/2352
Commits6 (6)https://github.com/clerk/javascript/pull/2352/commits
Checkshttps://github.com/clerk/javascript/pull/2352/checks
Files changedhttps://github.com/clerk/javascript/pull/2352/files
feat(backend): Limit handshake to document requestshttps://github.com/clerk/javascript/pull/2352#top
SokratisVidroshttps://github.com/SokratisVidros
mainhttps://github.com/clerk/javascript/tree/main
brk.feat/handshake-fetchhttps://github.com/clerk/javascript/tree/brk.feat/handshake-fetch
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#issue-2042130637
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
https://github.com/brkalow
feat(backend): Support dev handshake where the redirect ends up taintedhttps://github.com/clerk/javascript/pull/2352/commits/99c6620813fb9077d26a30c67029f5555cef2e9b
99c6620https://github.com/clerk/javascript/pull/2352/commits/99c6620813fb9077d26a30c67029f5555cef2e9b
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#issuecomment-1856250581
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
df9aba8https://github.com/clerk/javascript/commit/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/brk.feat/handshake-fetch?filename=.changeset/ten-islands-work.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Ffastify%22%3A%20patch%0A---%0A%0Afeat(backend)%3A%20Limit%20handshake%20to%20document%20requests%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#event-11250790188
https://github.com/brkalow
feat(backend): Fix tests, only check sec-fetch-dest for handshake elg…https://github.com/clerk/javascript/pull/2352/commits/b103ec762c5d4571248a74b8e9edd578df3faa95
b103ec7https://github.com/clerk/javascript/pull/2352/commits/b103ec762c5d4571248a74b8e9edd578df3faa95
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
integration https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#event-11253419850
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#event-11253421242
https://github.com/brkalow
chore(repo): Add changesethttps://github.com/clerk/javascript/pull/2352/commits/412c5f5264b840fbad602682f8b160c5088f28f3
412c5f5https://github.com/clerk/javascript/pull/2352/commits/412c5f5264b840fbad602682f8b160c5088f28f3
https://github.com/brkalow
brkalowhttps://github.com/brkalow
December 14, 2023 22:14https://github.com/clerk/javascript/pull/2352#event-11253447783
brkalowhttps://github.com/brkalow
December 14, 2023 16:52https://github.com/clerk/javascript/pull/2352#commits-pushed-841b0eb
https://github.com/brkalow
fix(backend): Update request unit testshttps://github.com/clerk/javascript/pull/2352/commits/841b0eb04fd17102a1db66ca939960d590d4ccf5
841b0ebhttps://github.com/clerk/javascript/pull/2352/commits/841b0eb04fd17102a1db66ca939960d590d4ccf5
https://github.com/brkalow
fix(fastify): Update snapshot testshttps://github.com/clerk/javascript/pull/2352/commits/075957839e579abc0e02d4714a7c9769f2b40261
0759578https://github.com/clerk/javascript/pull/2352/commits/075957839e579abc0e02d4714a7c9769f2b40261
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
fastify https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Afastify
Dec 14, 2023https://github.com/clerk/javascript/pull/2352#event-11253769809
https://github.com/brkalow
brkalowhttps://github.com/brkalow
SokratisVidroshttps://github.com/SokratisVidros
colinclerkhttps://github.com/colinclerk
December 15, 2023 13:25https://github.com/clerk/javascript/pull/2352#event-11259627989
https://github.com/brkalow
Merge branch 'main' into brk.feat/handshake-fetchhttps://github.com/clerk/javascript/pull/2352/commits/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
df9aba8https://github.com/clerk/javascript/pull/2352/commits/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Dec 15, 2023 https://github.com/clerk/javascript/pull/2352#pullrequestreview-1784025297
View reviewed changes https://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
packages/backend/src/tokens/__tests__/request.test.tshttps://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84#diff-b4acf7819a9bc4831bdbb06770598bed053e3fe2c53fbdd75540ffa9a553f437
brkalowhttps://github.com/brkalow
Dec 15, 2023https://github.com/clerk/javascript/pull/2352#discussion_r1427979403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
packages/backend/src/tokens/__tests__/request.test.tshttps://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84#diff-b4acf7819a9bc4831bdbb06770598bed053e3fe2c53fbdd75540ffa9a553f437
brkalowhttps://github.com/brkalow
Dec 15, 2023https://github.com/clerk/javascript/pull/2352#discussion_r1427979804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
brkalowhttps://github.com/brkalow
Dec 15, 2023https://github.com/clerk/javascript/pull/2352#discussion_r1427980109
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
brkalowhttps://github.com/brkalow
Dec 15, 2023https://github.com/clerk/javascript/pull/2352#discussion_r1427981076
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
Dec 15, 2023 https://github.com/clerk/javascript/pull/2352#pullrequestreview-1784115562
View reviewed changes https://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
1e98187https://github.com/clerk/javascript/commit/1e98187b4fba0f872576510d7bccf8b75a2579bd
Dec 15, 2023https://github.com/clerk/javascript/pull/2352#event-11260002538
https://github.com/SokratisVidros
SokratisVidroshttps://github.com/SokratisVidros
December 15, 2023 14:05https://github.com/clerk/javascript/pull/2352#event-11260002685
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Dec 15, 2023 https://github.com/clerk/javascript/pull/2352#ref-pullrequest-2042724006
Version Packages (alpha-v5) #2369 https://github.com/clerk/javascript/pull/2369
https://github.co/hiddenchars
https://github.com/clerk/javascript/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%2Fclerk%2Fjavascript%2Fpull%2F2352
https://github.com/colinclerk
colinclerk https://github.com/colinclerk
https://github.com/SokratisVidros
SokratisVidros https://github.com/SokratisVidros
https://github.com/clerk/javascript/pull/2352/files/df9aba81a63cf95c87e4d9a7cd5d773798bf3e84
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
fastify https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Afastify
integration https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration
Please reload this pagehttps://github.com/clerk/javascript/pull/2352
https://github.com/brkalow
https://github.com/SokratisVidros
https://github.com/clerk-cookie
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.