| 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:daabb3a6-7342-437a-c26d-44d20e6682e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8D4:161D06:65E59:98F51:6AFACF5A |
| html-safe-nonce | bb275c938991e3249bb434be0a709813ebfff6e71096c9a48178d37813754e2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEQ0OjE2MUQwNjo2NUU1OTo5OEY1MTo2QUZBQ0Y1QSIsInZpc2l0b3JfaWQiOiI0NjQ3MDkxMzM4MzEzNjUwMDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9798b3f41a0065b493fe2e612cb6f864c09fbd176aab2b4713a4bebe40d0cfa3 |
| hovercard-subject-tag | pull_request:2555255648 |
| 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/6035/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e9d9f514746dba3844263deba902d36e9bc0a6c45cfeb5d7b90660b5cf190055/clerk/javascript/pull/6035 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9d9f514746dba3844263deba902d36e9bc0a6c45cfeb5d7b90660b5cf190055/clerk/javascript/pull/6035 |
| og:image:alt | Description
This PR goes hand in hand with Docs PR 2273
The @clerk/nextjs error "Clerk: auth() was called but Clerk can't detect usage of clerkMiddleware()" is confusing to customers,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | royanger |
| 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/6035#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F6035 |
| 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%2F6035 |
| 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/6035 |
| Reload | https://github.com/clerk/javascript/pull/6035 |
| Reload | https://github.com/clerk/javascript/pull/6035 |
| 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 |
| royanger | https://github.com/royanger |
| main | https://github.com/clerk/javascript/tree/main |
| roy/improve-middleware-error-messaging | https://github.com/clerk/javascript/tree/roy/improve-middleware-error-messaging |
| Conversation | https://github.com/clerk/javascript/pull/6035 |
| Commits3 (3) | https://github.com/clerk/javascript/pull/6035/commits |
| Checks | https://github.com/clerk/javascript/pull/6035/checks |
| Files changed | https://github.com/clerk/javascript/pull/6035/files |
| chore(nextjs): Updated URL for auth cant detect usage of clerkMiddleware | https://github.com/clerk/javascript/pull/6035#top |
| royanger | https://github.com/royanger |
| main | https://github.com/clerk/javascript/tree/main |
| roy/improve-middleware-error-messaging | https://github.com/clerk/javascript/tree/roy/improve-middleware-error-messaging |
|
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#issue-3103788459 |
| Docs PR 2273 | https://github.com/clerk/clerk-docs/pull/2273 |
| 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/6035 |
|
| https://github.com/royanger |
| chore(nextjs): Updated URL for auth() can't detect usage of clerkMidd… | https://github.com/clerk/javascript/pull/6035/commits/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
| e2e7507 | https://github.com/clerk/javascript/pull/6035/commits/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2922943231 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| b2d128a | https://github.com/clerk/javascript/commit/b2d128a5579f66ff24d8b352c7dbdea3e9993b88 |
| 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/roy/improve-middleware-error-messaging?filename=.changeset/forty-foxes-provide.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Achore(nextjs)%3A%20Updated%20URL%20for%20%60auth%60%20cant%20detect%20usage%20of%20%60clerkMiddleware%60%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2922943251 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| Vercel for Git ↗︎ | https://vercel.link/github-learn-more |
| Inspect | https://vercel.com/clerk-production/clerk-js-sandbox/BFhoY3ca6DJe9ZVa7Ey8SQ4mZwEa |
| Visit Preview | https://clerk-js-sandbox-git-roy-improve-middleware-error-messaging.clerkstage.dev |
| Add feedback | https://vercel.live/open-feedback/clerk-js-sandbox-git-roy-improve-middleware-error-messaging.clerkstage.dev?via=pr-comment-feedback-link |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#event-17888973285 |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2922948666 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| Open in StackBlitz | https://pkg.pr.new/template/68784932-d5ff-4d72-9fc2-8d33f27b6d20 |
| b2d128a | https://github.com/clerk/javascript/runs/43224417461 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| https://github.com/tmilewski |
| tmilewski | https://github.com/tmilewski |
|
May 30, 2025
| https://github.com/clerk/javascript/pull/6035#pullrequestreview-2881972861 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/6035/files/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
| https://github.com/tmilewski |
| tmilewski | https://github.com/tmilewski |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#event-17889067666 |
| https://github.com/tmilewski |
| tmilewski | https://github.com/tmilewski |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#event-17889078712 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
|
May 30, 2025
| https://github.com/clerk/javascript/pull/6035#pullrequestreview-2882317217 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/6035/files/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
|
blocked
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Ablocked |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#event-17892925728 |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| May 30, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2923718526 |
| @tmilewski | https://github.com/tmilewski |
| @wobsoriano | https://github.com/wobsoriano |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| May 31, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2923998183 |
| https://clerk.com/err/auth-middleware | https://clerk.com/err/auth-middleware |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
|
| https://github.com/royanger |
| chore(nextjs): Swapped to | https://github.com/clerk/javascript/pull/6035/commits/20b173adbee158676a46404b686266f166748c45 |
| https://clerk.com/err/auth-middleware | https://clerk.com/err/auth-middleware |
| 20b173a | https://github.com/clerk/javascript/pull/6035/commits/20b173adbee158676a46404b686266f166748c45 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://clerk-js-sandbox-mqhca2xl4.clerkstage.dev |
| May 31, 2025 02:55 | https://github.com/clerk/javascript/pull/6035#event-17895000255 |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| May 31, 2025 | https://github.com/clerk/javascript/pull/6035#issuecomment-2924067985 |
| 20b173a | https://github.com/clerk/javascript/commit/20b173adbee158676a46404b686266f166748c45 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
|
| https://github.com/royanger |
| Merge branch 'main' into roy/improve-middleware-error-messaging | https://github.com/clerk/javascript/pull/6035/commits/b2d128a5579f66ff24d8b352c7dbdea3e9993b88 |
| b2d128a | https://github.com/clerk/javascript/pull/6035/commits/b2d128a5579f66ff24d8b352c7dbdea3e9993b88 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-emcenxob3.clerkstage.dev |
| Preview | https://clerk-js-sandbox-emcenxob3.clerkstage.dev |
| May 31, 2025 02:57 | https://github.com/clerk/javascript/pull/6035#event-17895029724 |
| View deployment | https://clerk-js-sandbox-emcenxob3.clerkstage.dev |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| Jun 3, 2025 | https://github.com/clerk/javascript/pull/6035#event-17967307487 |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| a5619ed | https://github.com/clerk/javascript/commit/a5619ed118315b85defe91a6ce69c39c09ae57c3 |
| Jun 3, 2025 | https://github.com/clerk/javascript/pull/6035#event-17967323149 |
| https://github.com/royanger |
| royanger | https://github.com/royanger |
| June 3, 2025 20:25 | https://github.com/clerk/javascript/pull/6035#event-17967323527 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
Jun 3, 2025
| https://github.com/clerk/javascript/pull/6035#ref-pullrequest-3101281915 |
|
ci(repo): Version packages
#6031
| https://github.com/clerk/javascript/pull/6031 |
| Deployed | https://clerk-js-sandbox-emcenxob3.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-emcenxob3.clerkstage.dev |
| 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%2F6035 |
|
| https://github.com/tmilewski |
|
tmilewski
| https://github.com/tmilewski |
|
| https://github.com/clerk/javascript/pull/6035/files/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
|
| https://github.com/wobsoriano |
|
wobsoriano
| https://github.com/wobsoriano |
|
| https://github.com/clerk/javascript/pull/6035/files/e2e75078ccd6b30bf128eebd818e7eaedaf6fbe9 |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
|
| https://github.com/royanger |
|
royanger
| https://github.com/royanger |
|
blocked
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Ablocked |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Please reload this page | https://github.com/clerk/javascript/pull/6035 |
|
| https://github.com/royanger |
|
| https://github.com/jacekradko |
|
| https://github.com/tmilewski |
|
| https://github.com/wobsoriano |
|
| 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 |