René's URL Explorer Experiment


Title: fix(nextjs): prevent infinite handshake redirect loop on Netlify by mauricioabreu · Pull Request #7857 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): prevent infinite handshake redirect loop on Netlify by mauricioabreu · Pull Request #7857 · clerk/javascript

X Title: fix(nextjs): prevent infinite handshake redirect loop on Netlify by mauricioabreu · Pull Request #7857 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): prevent infinite handshake redirect loop on Netlify by mauricioabreu · Pull Request #7857 · clerk/javascript

Open Graph Description: Description Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...

X Description: Description Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...

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

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:e2afa428-8041-6657-cc75-99c5185801a3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB788:2765B7:E203BE:1352E4C:6AFAB063
html-safe-nonce3d45c3e7667ede2284a04ce41a931f330ab360ff00f5482d641dbbedf04f5bad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzg4OjI3NjVCNzpFMjAzQkU6MTM1MkU0Qzo2QUZBQjA2MyIsInZpc2l0b3JfaWQiOiI0OTk5NDM1MzYyNzYyNDAzOTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdaed1aea06c52bc066e83c6a8207848618985e060366c1397338a6e92754927a
hovercard-subject-tagpull_request:3291367223
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/7857/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/42acdf2990ddf6ae41667c75279981f685cca771861ad23c9d86d84ef225d132/clerk/javascript/pull/7857
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/42acdf2990ddf6ae41667c75279981f685cca771861ad23c9d86d84ef225d132/clerk/javascript/pull/7857
og:image:altDescription Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If applicable) Documentation...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemauricioabreu
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/7857#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7857
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%2F7857
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/7857
Reloadhttps://github.com/clerk/javascript/pull/7857
Reloadhttps://github.com/clerk/javascript/pull/7857
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
mauricioabreuhttps://github.com/mauricioabreu
mainhttps://github.com/clerk/javascript/tree/main
mauricio-antunes/fix-infite-handshake-redirect-netlify-loophttps://github.com/clerk/javascript/tree/mauricio-antunes/fix-infite-handshake-redirect-netlify-loop
Conversationhttps://github.com/clerk/javascript/pull/7857
Commits2 (2)https://github.com/clerk/javascript/pull/7857/commits
Checkshttps://github.com/clerk/javascript/pull/7857/checks
Files changedhttps://github.com/clerk/javascript/pull/7857/files
fix(nextjs): prevent infinite handshake redirect loop on Netlifyhttps://github.com/clerk/javascript/pull/7857#top
mauricioabreuhttps://github.com/mauricioabreu
mainhttps://github.com/clerk/javascript/tree/main
mauricio-antunes/fix-infite-handshake-redirect-netlify-loophttps://github.com/clerk/javascript/tree/mauricio-antunes/fix-infite-handshake-redirect-netlify-loop
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#issue-3949328784
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
fix(nextjs): prevent infinite handshake redirect loop on Netlifyhttps://github.com/clerk/javascript/pull/7857/commits/f29c80ace54fd0fcd9cae5b92c4ab6194ebef23d
f29c80ahttps://github.com/clerk/javascript/pull/7857/commits/f29c80ace54fd0fcd9cae5b92c4ab6194ebef23d
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#issuecomment-3910315536
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
be3ca3ahttps://github.com/clerk/javascript/commit/be3ca3a35b8c7620f2004c06bd7b301ac6dda48a
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/mauricio-antunes/fix-infite-handshake-redirect-netlify-loop?filename=.changeset/chatty-dolphins-hug.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20prevent%20infinite%20handshake%20redirect%20loop%20on%20Netlify%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#issuecomment-3910315552
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/AF7oyuAtxfoLmhfpv36ujxmzYpaA
Previewhttps://clerk-js-sandbox-git-mauricio-antunes-fix-infite-handsha-b76a74.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-mauricio-antunes-fix-infite-handsha-b76a74.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=7857
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
wobsorianohttps://github.com/wobsoriano
February 16, 2026 19:59https://github.com/clerk/javascript/pull/7857#event-22834331098
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
core-3 https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Acore-3
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#event-22834331830
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-6lq35r5ee.clerkstage.dev
Previewhttps://clerk-js-sandbox-6lq35r5ee.clerkstage.dev
February 16, 2026 19:59https://github.com/clerk/javascript/pull/7857#event-22834337328
View deploymenthttps://clerk-js-sandbox-6lq35r5ee.clerkstage.dev
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Feb 16, 2026 https://github.com/clerk/javascript/pull/7857#pullrequestreview-3810385377
View reviewed changes https://github.com/clerk/javascript/pull/7857/files/f29c80ace54fd0fcd9cae5b92c4ab6194ebef23d
wobsorianohttps://github.com/wobsoriano
https://github.com/clerk/javascript/pull/7857#pullrequestreview-3810385377
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
packages/nextjs/src/server/clerkMiddleware.tshttps://github.com/clerk/javascript/pull/7857/files/f29c80ace54fd0fcd9cae5b92c4ab6194ebef23d#diff-f6d762a2890e99ee53fbdeb979f234d6dd5bcd2299c5925bee9859b14b205d71
wobsorianohttps://github.com/wobsoriano
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#discussion_r2813930304
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
mauricioabreuhttps://github.com/mauricioabreu
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#discussion_r2814033545
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
wobsorianohttps://github.com/wobsoriano
Feb 16, 2026https://github.com/clerk/javascript/pull/7857#discussion_r2814110479
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
wobsorianohttps://github.com/wobsoriano
Feb 18, 2026https://github.com/clerk/javascript/pull/7857#discussion_r2820474547
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
Feb 17, 2026https://github.com/clerk/javascript/pull/7857#event-22839713901
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
February 17, 2026 01:56https://github.com/clerk/javascript/pull/7857#event-22839714871
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 17, 2026https://github.com/clerk/javascript/pull/7857#issuecomment-3911532518
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
wobsorianohttps://github.com/wobsoriano
February 17, 2026 18:10https://github.com/clerk/javascript/pull/7857#event-22861365835
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Feb 18, 2026 https://github.com/clerk/javascript/pull/7857#pullrequestreview-3817877024
View reviewed changes https://github.com/clerk/javascript/pull/7857/files/be3ca3a35b8c7620f2004c06bd7b301ac6dda48a
wobsorianohttps://github.com/wobsoriano
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/clerk/javascript/pull/7857#pullrequestreview-3817877024
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/wobsoriano
Merge branch 'main' into mauricio-antunes/fix-infite-handshake-redire…https://github.com/clerk/javascript/pull/7857/commits/be3ca3a35b8c7620f2004c06bd7b301ac6dda48a
be3ca3ahttps://github.com/clerk/javascript/pull/7857/commits/be3ca3a35b8c7620f2004c06bd7b301ac6dda48a
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-g49igxwqo.clerkstage.dev
Previewhttps://clerk-js-sandbox-g49igxwqo.clerkstage.dev
February 18, 2026 05:50https://github.com/clerk/javascript/pull/7857#event-22873752417
View deploymenthttps://clerk-js-sandbox-g49igxwqo.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Feb 18, 2026https://github.com/clerk/javascript/pull/7857#issuecomment-3918850783
Open in StackBlitzhttps://pkg.pr.new/template/27bd2b44-a5bc-4563-8958-4b86a7d5144a
be3ca3ahttps://github.com/clerk/javascript/runs/63963219215
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
061c6c4https://github.com/clerk/javascript/commit/061c6c4e29f78d51a63b3d2a12119cf684494831
Feb 18, 2026https://github.com/clerk/javascript/pull/7857#event-22880920932
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
February 18, 2026 11:06https://github.com/clerk/javascript/pull/7857#event-22880922003
mauricioabreuhttps://github.com/mauricioabreu
Feb 18, 2026 https://github.com/clerk/javascript/pull/7857#ref-commit-096eacd
https://github.com/mauricioabreu
https://github.com/wobsoriano
fix(nextjs): prevent infinite handshake redirect loop on Netlify (https://github.com/clerk/javascript/commit/096eacdaf0de86b302870acededd7785b106a0c5
#7857https://github.com/clerk/javascript/pull/7857
)https://github.com/clerk/javascript/commit/096eacdaf0de86b302870acededd7785b106a0c5
096eacdhttps://github.com/clerk/javascript/commit/096eacdaf0de86b302870acededd7785b106a0c5
https://github.com/mauricioabreu
mauricioabreuhttps://github.com/mauricioabreu
Feb 18, 2026 https://github.com/clerk/javascript/pull/7857#ref-pullrequest-3957359298
fix(nextjs): Prevent infinite handshake redirect loop on Netlify (#7857) #7876 https://github.com/clerk/javascript/pull/7876
mauricioabreuhttps://github.com/mauricioabreu
Feb 18, 2026 https://github.com/clerk/javascript/pull/7857#ref-commit-9be0ffd
https://github.com/mauricioabreu
https://github.com/wobsoriano
fix(nextjs): Prevent infinite handshake redirect loop on Netlify (https://github.com/clerk/javascript/commit/9be0ffd70118b4cb0851a414388856ead31526fd
#7857https://github.com/clerk/javascript/pull/7857
…https://github.com/clerk/javascript/commit/9be0ffd70118b4cb0851a414388856ead31526fd
9be0ffdhttps://github.com/clerk/javascript/commit/9be0ffd70118b4cb0851a414388856ead31526fd
#7876https://github.com/clerk/javascript/pull/7876
Deployedhttps://clerk-js-sandbox-g49igxwqo.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-g49igxwqo.clerkstage.dev
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%2F7857
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
https://github.com/clerk/javascript/pull/7857/files/be3ca3a35b8c7620f2004c06bd7b301ac6dda48a
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
mauricioabreu https://github.com/mauricioabreu
core-3 https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Acore-3
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/7857
https://github.com/mauricioabreu
https://github.com/wobsoriano
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.