| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7c7a5aee-149a-23a3-e544-55b5cb2a27c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9866:268853:5D01E3F:7B503FD:6AFACDA3 |
| html-safe-nonce | 0cc07b56fc93193da2842e65ded5775e9d41bb3cdf501d658929d2ab1022b5b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODY2OjI2ODg1Mzo1RDAxRTNGOjdCNTAzRkQ6NkFGQUNEQTMiLCJ2aXNpdG9yX2lkIjoiNTY2NjAzMTM0MjQxNjc0Mzg0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 17878b4b0f76ed4f61697f4d2c91267109aa61f5d2468c869b4060564016c53d |
| hovercard-subject-tag | pull_request:1702900953 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/2691/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/716a739f3b74f4372eca576141c95bf0f3047dce2352da119dbbf54e521e5a5a/clerk/javascript/pull/2691 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/716a739f3b74f4372eca576141c95bf0f3047dce2352da119dbbf54e521e5a5a/clerk/javascript/pull/2691 |
| og:image:alt | Description
The auth().redirectToSignIn() helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent:
// Before
export default cle... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nikosdouvlis |
| hostname | github.com |
| expected-hostname | github.com |
| None | aa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be9dc02df8087c7449fb60a416e138c34108ed94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/2691#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2691 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2691 |
| Sign up | https://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 |
| Reload | https://github.com/clerk/javascript/pull/2691 |
| Reload | https://github.com/clerk/javascript/pull/2691 |
| Reload | https://github.com/clerk/javascript/pull/2691 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| nikosdouvlis | https://github.com/nikosdouvlis |
| main | https://github.com/clerk/javascript/tree/main |
| nikos/sdk-1247-next-improvements | https://github.com/clerk/javascript/tree/nikos/sdk-1247-next-improvements |
| Conversation | https://github.com/clerk/javascript/pull/2691 |
| Commits2 (2) | https://github.com/clerk/javascript/pull/2691/commits |
| Checks | https://github.com/clerk/javascript/pull/2691/checks |
| Files changed | https://github.com/clerk/javascript/pull/2691/files |
| v5: NextJS improvements | https://github.com/clerk/javascript/pull/2691#top |
| nikosdouvlis | https://github.com/nikosdouvlis |
| main | https://github.com/clerk/javascript/tree/main |
| nikos/sdk-1247-next-improvements | https://github.com/clerk/javascript/tree/nikos/sdk-1247-next-improvements |
|
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| Jan 30, 2024 | https://github.com/clerk/javascript/pull/2691#issue-2108775894 |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| JSDoc comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Jan 30, 2024 | https://github.com/clerk/javascript/pull/2691#issuecomment-1917892499 |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| 4cf05ac | https://github.com/clerk/javascript/commit/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| Click here to learn what changesets are | https://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 PR | https://github.com/clerk/javascript/new/nikos/sdk-1247-next-improvements?filename=.changeset/brown-grapes-grow.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Ffastify%22%3A%20patch%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Av5%3A%20NextJS%20improvements%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
|
backend
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend |
| Jan 30, 2024 | https://github.com/clerk/javascript/pull/2691#event-11647529233 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| panteliselef | https://github.com/panteliselef |
| January 31, 2024 11:20 | https://github.com/clerk/javascript/pull/2691#event-11654395934 |
|
| https://github.com/nikosdouvlis |
| feat(nextjs): Make auth().redirectToSignIn() in middleware work witho… | https://github.com/clerk/javascript/pull/2691/commits/74a3e52a5367f30700059497919b9e121821e0c3 |
| 74a3e52 | https://github.com/clerk/javascript/pull/2691/commits/74a3e52a5367f30700059497919b9e121821e0c3 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| force-pushed | https://github.com/clerk/javascript/compare/bfc06d1a29ce191d998604323ec775080c28df02..8f74ed3e3ce571c08a579b9b01a1b3ac00cb4ebd |
| bfc06d1 | https://github.com/clerk/javascript/commit/bfc06d1a29ce191d998604323ec775080c28df02 |
| 8f74ed3 | https://github.com/clerk/javascript/commit/8f74ed3e3ce571c08a579b9b01a1b3ac00cb4ebd |
|
Compare
| https://github.com/clerk/javascript/compare/bfc06d1a29ce191d998604323ec775080c28df02..8f74ed3e3ce571c08a579b9b01a1b3ac00cb4ebd |
| February 1, 2024 19:36 | https://github.com/clerk/javascript/pull/2691#event-11674942327 |
| https://github.com/panteliselef |
| panteliselef | https://github.com/panteliselef |
|
Feb 1, 2024
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1857569650 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/2691/files |
| panteliselef | https://github.com/panteliselef |
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1857569650 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| packages/nextjs/src/server/clerkMiddleware.ts | https://github.com/clerk/javascript/pull/2691/files#diff-f6d762a2890e99ee53fbdeb979f234d6dd5bcd2299c5925bee9859b14b205d71 |
| panteliselef | https://github.com/panteliselef |
| Feb 1, 2024 | https://github.com/clerk/javascript/pull/2691#discussion_r1475111918 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| nikosdouvlis | https://github.com/nikosdouvlis |
| Feb 1, 2024 | https://github.com/clerk/javascript/pull/2691#discussion_r1475123779 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| Feb 1, 2024 | https://github.com/clerk/javascript/pull/2691#issuecomment-1922209234 |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| force-pushed | https://github.com/clerk/javascript/compare/c97c27621d6500d84807b89404b0fd76f936e2b8..bcab88260d68dcbb0cef7b15d348dec97135e4c5 |
| c97c276 | https://github.com/clerk/javascript/commit/c97c27621d6500d84807b89404b0fd76f936e2b8 |
| bcab882 | https://github.com/clerk/javascript/commit/bcab88260d68dcbb0cef7b15d348dec97135e4c5 |
|
Compare
| https://github.com/clerk/javascript/compare/c97c27621d6500d84807b89404b0fd76f936e2b8..bcab88260d68dcbb0cef7b15d348dec97135e4c5 |
| February 1, 2024 23:06 | https://github.com/clerk/javascript/pull/2691#event-11676960042 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
fastify
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Afastify |
| Feb 1, 2024 | https://github.com/clerk/javascript/pull/2691#event-11676961831 |
| https://github.com/dimkl |
| dimkl | https://github.com/dimkl |
|
Feb 2, 2024
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1858686406 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/2691/files |
| packages/backend/src/createRedirect.ts | https://github.com/clerk/javascript/pull/2691/files#diff-0d227b11a8899d21d6be23ec670a21d8310955ae282ae3596ae50a91b7b2bb97 |
| dimkl | https://github.com/dimkl |
| Feb 2, 2024 | https://github.com/clerk/javascript/pull/2691#discussion_r1475741024 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/dimkl |
| dimkl | https://github.com/dimkl |
|
Feb 2, 2024
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1858690663 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/2691/files |
| packages/nextjs/src/app-router/server/auth.ts | https://github.com/clerk/javascript/pull/2691/files#diff-64d9d35e480429c82b5cb01e88b8444eb675c1e22f83c872d0780ba4dcd61a81 |
| dimkl | https://github.com/dimkl |
| Feb 2, 2024 | https://github.com/clerk/javascript/pull/2691#discussion_r1475743777 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| nikosdouvlis | https://github.com/nikosdouvlis |
| Feb 2, 2024 | https://github.com/clerk/javascript/pull/2691#discussion_r1475761321 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @dimkl | https://github.com/dimkl |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| force-pushed | https://github.com/clerk/javascript/compare/bcab88260d68dcbb0cef7b15d348dec97135e4c5..1fbd905cd479b02c6dc2e96c053743fb29681ccb |
| bcab882 | https://github.com/clerk/javascript/commit/bcab88260d68dcbb0cef7b15d348dec97135e4c5 |
| 1fbd905 | https://github.com/clerk/javascript/commit/1fbd905cd479b02c6dc2e96c053743fb29681ccb |
|
Compare
| https://github.com/clerk/javascript/compare/bcab88260d68dcbb0cef7b15d348dec97135e4c5..1fbd905cd479b02c6dc2e96c053743fb29681ccb |
| February 2, 2024 10:46 | https://github.com/clerk/javascript/pull/2691#event-11682478050 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
integration
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration |
| Feb 2, 2024 | https://github.com/clerk/javascript/pull/2691#event-11682479884 |
|
| https://github.com/nikosdouvlis |
| feat(nextjs): Make auth().protect() respect returnBackUrl by using re… | https://github.com/clerk/javascript/pull/2691/commits/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| 4cf05ac | https://github.com/clerk/javascript/pull/2691/commits/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| force-pushed | https://github.com/clerk/javascript/compare/1fbd905cd479b02c6dc2e96c053743fb29681ccb..4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| 1fbd905 | https://github.com/clerk/javascript/commit/1fbd905cd479b02c6dc2e96c053743fb29681ccb |
| 4cf05ac | https://github.com/clerk/javascript/commit/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
|
Compare
| https://github.com/clerk/javascript/compare/1fbd905cd479b02c6dc2e96c053743fb29681ccb..4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| February 2, 2024 10:55 | https://github.com/clerk/javascript/pull/2691#event-11682571343 |
| https://github.com/anagstef |
| anagstef | https://github.com/anagstef |
|
Feb 2, 2024
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1859133121 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/2691/files/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| anagstef | https://github.com/anagstef |
| https://github.com/clerk/javascript/pull/2691#pullrequestreview-1859133121 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| 7b200af | https://github.com/clerk/javascript/commit/7b200af4908839ea661ddf2a76811057b545cafc |
| Feb 2, 2024 | https://github.com/clerk/javascript/pull/2691#event-11683528607 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| February 2, 2024 12:30 | https://github.com/clerk/javascript/pull/2691#event-11683528740 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
Feb 2, 2024
| https://github.com/clerk/javascript/pull/2691#ref-pullrequest-2100071228 |
|
Version Packages (beta-v5)
#2663
| https://github.com/clerk/javascript/pull/2663 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Jun 12, 2026
| https://github.com/clerk/javascript/pull/2691#ref-pullrequest-4652005616 |
|
Implement voice assistant functionalities with vapi
Tieson18/bookified#3
| https://github.com/Tieson18/bookified/pull/3 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Aug 5, 2026
| https://github.com/clerk/javascript/pull/2691#ref-pullrequest-5063444692 |
|
feat: add protected application shell
DoMinhHHung/BridgeWorksApps#2
| https://github.com/DoMinhHHung/BridgeWorksApps/pull/2 |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2691 |
|
| https://github.com/dimkl |
|
dimkl
| https://github.com/dimkl |
|
| https://github.com/clerk/javascript/pull/2691/files/bcab88260d68dcbb0cef7b15d348dec97135e4c5 |
|
| https://github.com/panteliselef |
|
panteliselef
| https://github.com/panteliselef |
|
| https://github.com/clerk/javascript/pull/2691/files/8f74ed3e3ce571c08a579b9b01a1b3ac00cb4ebd |
|
| https://github.com/anagstef |
|
anagstef
| https://github.com/anagstef |
|
| https://github.com/clerk/javascript/pull/2691/files/4cf05ac6da32cc535b9c6d2539fa497affb8a6bd |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
|
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 |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Please reload this page | https://github.com/clerk/javascript/pull/2691 |
|
| https://github.com/nikosdouvlis |
|
| https://github.com/dimkl |
|
| https://github.com/anagstef |
|
| https://github.com/panteliselef |
|
| https://github.com/clerk-cookie |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |