René's URL Explorer Experiment


Title: feat(nextjs): Support `auth().redirectToSignUp()` by panteliselef · Pull Request #5533 · clerk/javascript · GitHub

Open Graph Title: feat(nextjs): Support `auth().redirectToSignUp()` by panteliselef · Pull Request #5533 · clerk/javascript

X Title: feat(nextjs): Support `auth().redirectToSignUp()` by panteliselef · Pull Request #5533 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - feat(nextjs): Support `auth().redirectToSignUp()` by panteliselef · Pull Request #5533 · clerk/javascript

Open Graph Description: Description Original PR. This PR simply removes duplicated code and improves the changeset example. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc co...

X Description: Description Original PR. This PR simply removes duplicated code and improves the changeset example. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc co...

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

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:1fa7b7b2-dcdc-791b-89bf-4b4b2e55cccf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC04:2AA174:1C23DC:29CEF6:6AFB1E5B
html-safe-noncef82e3512584a9bf0833a064a600e80b45943b42f337e28b0ed9a902fe8eaeea4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzA0OjJBQTE3NDoxQzIzREM6MjlDRUY2OjZBRkIxRTVCIiwidmlzaXRvcl9pZCI6IjUwNzk4MzA3NjgyMjIxNTAyMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfac902c164d40a1abcf00392c0aff1fa07a77b546dd8830e081c9078d7fd321b
hovercard-subject-tagpull_request:2439240732
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/5533/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/13da388a8050804e97977f04c9db6ace616d1eede17bfd89673e08bff3a5d60f/clerk/javascript/pull/5533
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/13da388a8050804e97977f04c9db6ace616d1eede17bfd89673e08bff3a5d60f/clerk/javascript/pull/5533
og:image:altDescription Original PR. This PR simply removes duplicated code and improves the changeset example. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSDoc co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepanteliselef
hostnamegithub.com
expected-hostnamegithub.com
Nonef9219899e0d0ce0b87aeba2c640c955f83631457e5baff5df7a36ce599d2635b
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
releasedd3b60f1fd9c5f10a3dcde41ae35682f53e85cee
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/5533#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5533
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%2F5533
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/5533
Reloadhttps://github.com/clerk/javascript/pull/5533
Reloadhttps://github.com/clerk/javascript/pull/5533
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
panteliselefhttps://github.com/panteliselef
mainhttps://github.com/clerk/javascript/tree/main
elef/sdki-972-add-support-for-redirecttosignup-from-middlewarehttps://github.com/clerk/javascript/tree/elef/sdki-972-add-support-for-redirecttosignup-from-middleware
Conversationhttps://github.com/clerk/javascript/pull/5533
Commits8 (8)https://github.com/clerk/javascript/pull/5533/commits
Checkshttps://github.com/clerk/javascript/pull/5533/checks
Files changedhttps://github.com/clerk/javascript/pull/5533/files
feat(nextjs): Support auth().redirectToSignUp()https://github.com/clerk/javascript/pull/5533#top
panteliselefhttps://github.com/panteliselef
mainhttps://github.com/clerk/javascript/tree/main
elef/sdki-972-add-support-for-redirecttosignup-from-middlewarehttps://github.com/clerk/javascript/tree/elef/sdki-972-add-support-for-redirecttosignup-from-middleware
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#issue-2972040601
Original PRhttps://github.com/clerk/javascript/pull/5407
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
panteliselefhttps://github.com/panteliselef
April 4, 2025 12:57https://github.com/clerk/javascript/pull/5533#commits-pushed-a8ff15f
https://github.com/panteliselef
changes from contributor's prhttps://github.com/clerk/javascript/pull/5533/commits/a8ff15f475d4d8afde98489a7888d64ce2ad4a3c
a8ff15fhttps://github.com/clerk/javascript/pull/5533/commits/a8ff15f475d4d8afde98489a7888d64ce2ad4a3c
https://github.com/panteliselef
remove duplicate codehttps://github.com/clerk/javascript/pull/5533/commits/42497fb8f152bb9b3639c5d223b033c5e27db4e5
42497fbhttps://github.com/clerk/javascript/pull/5533/commits/42497fb8f152bb9b3639c5d223b033c5e27db4e5
https://github.com/panteliselef
Add changesethttps://github.com/clerk/javascript/pull/5533/commits/d8fc7bd7cee1bc1a824e54e3b079fcd6ba80a9e3
d8fc7bdhttps://github.com/clerk/javascript/pull/5533/commits/d8fc7bd7cee1bc1a824e54e3b079fcd6ba80a9e3
https://github.com/panteliselef
add contributorhttps://github.com/clerk/javascript/pull/5533/commits/39792f31f870b623ee7369575a362e65d469fd62
39792f3https://github.com/clerk/javascript/pull/5533/commits/39792f31f870b623ee7369575a362e65d469fd62
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#issuecomment-2778368606
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
b31e524https://github.com/clerk/javascript/commit/b31e52441df0f8339da64a8119c09a60f0ceb06d
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/elef/sdki-972-add-support-for-redirecttosignup-from-middleware?filename=.changeset/early-points-argue.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afeat(nextjs)%3A%20Support%20%60auth().redirectToSignUp()%60%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#issuecomment-2778368614
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/2iebodWuVjNEjHNSJkrJHXMfA5Lw
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#event-17128197881
panteliselefhttps://github.com/panteliselef
April 4, 2025 21:05https://github.com/clerk/javascript/pull/5533#commits-pushed-72cb4f3
https://github.com/panteliselef
Merge branch 'main' into elef/sdki-972-add-support-for-redirecttosign…https://github.com/clerk/javascript/pull/5533/commits/72cb4f3eb8f19ed6f451b3792ef0c22c8659a76d
72cb4f3https://github.com/clerk/javascript/pull/5533/commits/72cb4f3eb8f19ed6f451b3792ef0c22c8659a76d
https://github.com/panteliselef
allow for signInOrUphttps://github.com/clerk/javascript/pull/5533/commits/37037e779a68529fca1fb7caa0f31468c25172ee
37037e7https://github.com/clerk/javascript/pull/5533/commits/37037e779a68529fca1fb7caa0f31468c25172ee
https://github.com/panteliselef
Merge branch 'main' into elef/sdki-972-add-support-for-redirecttosign…https://github.com/clerk/javascript/pull/5533/commits/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e
8c4aa36https://github.com/clerk/javascript/pull/5533/commits/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#event-17134782457
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
April 4, 2025 19:13https://github.com/clerk/javascript/pull/5533#event-17134786043
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-au06hmn5r.clerkstage.dev
Previewhttps://clerk-js-sandbox-au06hmn5r.clerkstage.dev
April 4, 2025 19:13https://github.com/clerk/javascript/pull/5533#event-17134787969
View deploymenthttps://clerk-js-sandbox-au06hmn5r.clerkstage.dev
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Apr 4, 2025 https://github.com/clerk/javascript/pull/5533#pullrequestreview-2743958797
View reviewed changes https://github.com/clerk/javascript/pull/5533/files/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e
packages/nextjs/src/server/__tests__/clerkMiddleware.test.tshttps://github.com/clerk/javascript/pull/5533/files/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e#diff-be4eeee3b045648b5addb7cb6453d3b86cfd0dce8f60c0c18c5f892d7d586ed0
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Apr 4, 2025 https://github.com/clerk/javascript/pull/5533#pullrequestreview-2743963453
View reviewed changes https://github.com/clerk/javascript/pull/5533/files/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e
packages/backend/src/createRedirect.tshttps://github.com/clerk/javascript/pull/5533/files/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e#diff-0d227b11a8899d21d6be23ec670a21d8310955ae282ae3596ae50a91b7b2bb97
LauraBeatrishttps://github.com/LauraBeatris
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#discussion_r2029354711
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
panteliselefhttps://github.com/panteliselef
Apr 4, 2025https://github.com/clerk/javascript/pull/5533#discussion_r2029402513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/panteliselef
https://github.com/LauraBeatris
Update packages/nextjs/src/server/__tests__/clerkMiddleware.test.tshttps://github.com/clerk/javascript/pull/5533/commits/b31e52441df0f8339da64a8119c09a60f0ceb06d
b31e524https://github.com/clerk/javascript/pull/5533/commits/b31e52441df0f8339da64a8119c09a60f0ceb06d
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-f0qc81nzf.clerkstage.dev
April 4, 2025 20:32https://github.com/clerk/javascript/pull/5533#event-17135551192
https://github.com/anagstef
anagstefhttps://github.com/anagstef
Apr 7, 2025 https://github.com/clerk/javascript/pull/5533#pullrequestreview-2745747001
View reviewed changes https://github.com/clerk/javascript/pull/5533/files/b31e52441df0f8339da64a8119c09a60f0ceb06d
anagstefhttps://github.com/anagstef
https://github.com/clerk/javascript/pull/5533#pullrequestreview-2745747001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/octoper
octoperhttps://github.com/octoper
Apr 7, 2025 https://github.com/clerk/javascript/pull/5533#pullrequestreview-2745827321
View reviewed changes https://github.com/clerk/javascript/pull/5533/files/b31e52441df0f8339da64a8119c09a60f0ceb06d
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
4e0dfdbhttps://github.com/clerk/javascript/commit/4e0dfdbee098b7c602b59cbf44535cd9367894e5
Apr 7, 2025https://github.com/clerk/javascript/pull/5533#event-17151497028
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
April 7, 2025 11:02https://github.com/clerk/javascript/pull/5533#event-17151497432
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Apr 7, 2025 https://github.com/clerk/javascript/pull/5533#ref-pullrequest-2970246313
ci(repo): Version packages #5524 https://github.com/clerk/javascript/pull/5524
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Apr 9, 2025 https://github.com/clerk/javascript/pull/5533#ref-pullrequest-2936826827
feat: add redirectToSignUp() to ClerkMiddlewareAuthObject #5407 https://github.com/clerk/javascript/pull/5407
Deployedhttps://clerk-js-sandbox-f0qc81nzf.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-f0qc81nzf.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%2F5533
https://github.com/LauraBeatris
LauraBeatris https://github.com/LauraBeatris
https://github.com/clerk/javascript/pull/5533/files/8c4aa367bf2c1fbbab3422487a8336ecb7385f2e
https://github.com/octoper
octoper https://github.com/octoper
https://github.com/clerk/javascript/pull/5533/files/b31e52441df0f8339da64a8119c09a60f0ceb06d
https://github.com/anagstef
anagstef https://github.com/anagstef
https://github.com/clerk/javascript/pull/5533/files/b31e52441df0f8339da64a8119c09a60f0ceb06d
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/5533
https://github.com/panteliselef
https://github.com/octoper
https://github.com/anagstef
https://github.com/LauraBeatris
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.