| 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:a1e85199-2180-82f8-9270-b70bc214a540 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2CA:6A428:6A3A2:9E3DB:6AFACFD1 |
| html-safe-nonce | e0f9a68335376efeec6f6d1512279ff126bd0024073895e663786cde43ba8deb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkNBOjZBNDI4OjZBM0EyOjlFM0RCOjZBRkFDRkQxIiwidmlzaXRvcl9pZCI6IjM2Mjk3NjU2MTA1NTM2NTkzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51222d6629ef9fb6e63c5ba0aa92e2887c2d4d503352382a978b3bb6f110ad52 |
| hovercard-subject-tag | pull_request:3364710562 |
| 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/8007/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5b02f65817f77e1140b30860051594c9b38f1dec63cded4797ee9da075b7c38e/clerk/javascript/pull/8007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b02f65817f77e1140b30860051594c9b38f1dec63cded4797ee9da075b7c38e/clerk/javascript/pull/8007 |
| og:image:alt | Summary
Improved the auth() error message when clerkMiddleware() is not detected to include infrastructure failures as a possible cause
When middleware is correctly configured but fails to execute... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jacekradko |
| 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/8007#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8007 |
| 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%2F8007 |
| 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/8007 |
| Reload | https://github.com/clerk/javascript/pull/8007 |
| Reload | https://github.com/clerk/javascript/pull/8007 |
| 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 |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| jacek/improve-auth-middleware-error-message | https://github.com/clerk/javascript/tree/jacek/improve-auth-middleware-error-message |
| Conversation | https://github.com/clerk/javascript/pull/8007 |
| Commits6 (6) | https://github.com/clerk/javascript/pull/8007/commits |
| Checks | https://github.com/clerk/javascript/pull/8007/checks |
| Files changed | https://github.com/clerk/javascript/pull/8007/files |
| fix(nextjs): improve auth() error message to mention infrastructure failures | https://github.com/clerk/javascript/pull/8007#top |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| jacek/improve-auth-middleware-error-message | https://github.com/clerk/javascript/tree/jacek/improve-auth-middleware-error-message |
|
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#issue-4035195121 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| fix(nextjs): improve auth() error message to mention infrastructure f… | https://github.com/clerk/javascript/pull/8007/commits/f63c2dbea14da56b65a6e81000b0fda6ca8880fe |
| f63c2db | https://github.com/clerk/javascript/pull/8007/commits/f63c2dbea14da56b65a6e81000b0fda6ca8880fe |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#issuecomment-4012885528 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| clerk-js-sandbox | https://vercel.com/clerk-production/clerk-js-sandbox |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/clerk-production/clerk-js-sandbox/6A17T3oobhuAAZWv4NXE3DUJyx95 |
| Preview | https://clerk-js-sandbox-git-jacek-improve-auth-middleware-error-34e7ef.clerkstage.dev |
| Comment | https://vercel.live/open-feedback/clerk-js-sandbox-git-jacek-improve-auth-middleware-error-34e7ef.clerkstage.dev?via=pr-comment-feedback-link |
| https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=8007 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#issuecomment-4012885898 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| 667c1f7 | https://github.com/clerk/javascript/commit/667c1f7287b6d51eff108f51f52bde475e82e308 |
| 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/jacek/improve-auth-middleware-error-message?filename=.changeset/selfish-ladybugs-judge.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20improve%20auth()%20error%20message%20to%20mention%20infrastructure%20failures%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#event-23338798381 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-en5qrq85k.clerkstage.dev |
| Preview | https://clerk-js-sandbox-en5qrq85k.clerkstage.dev |
| March 6, 2026 16:57 | https://github.com/clerk/javascript/pull/8007#event-23338806667 |
| View deployment | https://clerk-js-sandbox-en5qrq85k.clerkstage.dev |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#issuecomment-4012900563 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| d16df7d | https://github.com/clerk/javascript/commit/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6 |
| 0920cf9 | https://github.com/clerk/javascript/commit/0920cf9b5083f31c364b64764f6c8bfd2a6369b2 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Mar 6, 2026 | https://github.com/clerk/javascript/pull/8007#issuecomment-4012903226 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| Open in StackBlitz | https://pkg.pr.new/template/1fb0c39a-bd83-4017-b719-56c7d0f21120 |
| 667c1f7 | https://github.com/clerk/javascript/runs/74485406068 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| Merge branch 'main' into jacek/improve-auth-middleware-error-message | https://github.com/clerk/javascript/pull/8007/commits/4730b3a595093aa297251518ddd907c0d7e9127d |
| 4730b3a | https://github.com/clerk/javascript/pull/8007/commits/4730b3a595093aa297251518ddd907c0d7e9127d |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-6dzbi5p61.clerkstage.dev |
| Preview | https://clerk-js-sandbox-6dzbi5p61.clerkstage.dev |
| March 9, 2026 15:22 | https://github.com/clerk/javascript/pull/8007#event-23400148148 |
| View deployment | https://clerk-js-sandbox-6dzbi5p61.clerkstage.dev |
| https://github.com/brkalow |
| brkalow | https://github.com/brkalow |
|
Mar 9, 2026
| https://github.com/clerk/javascript/pull/8007#pullrequestreview-3916254703 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8007/files/4730b3a595093aa297251518ddd907c0d7e9127d |
| packages/nextjs/src/server/errors.ts | https://github.com/clerk/javascript/pull/8007/files/4730b3a595093aa297251518ddd907c0d7e9127d#diff-4cbaacafb0fc3e563b392ecdc9f20c8f97cd10c36be4248a7105caf209cc22f4 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| fix(nextjs): separate infrastructure failure note from checklist in a… | https://github.com/clerk/javascript/pull/8007/commits/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6 |
| d16df7d | https://github.com/clerk/javascript/pull/8007/commits/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://clerk-js-sandbox-new5esx00.clerkstage.dev |
| March 9, 2026 15:41 | https://github.com/clerk/javascript/pull/8007#event-23400774546 |
| https://github.com/tmilewski |
| tmilewski | https://github.com/tmilewski |
|
Mar 9, 2026
| https://github.com/clerk/javascript/pull/8007#pullrequestreview-3916662407 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8007/files/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6 |
| packages/nextjs/src/server/errors.ts | https://github.com/clerk/javascript/pull/8007/files/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6#diff-4cbaacafb0fc3e563b392ecdc9f20c8f97cd10c36be4248a7105caf209cc22f4 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
|
| https://github.com/tmilewski |
| Update packages/nextjs/src/server/errors.ts | https://github.com/clerk/javascript/pull/8007/commits/0920cf9b5083f31c364b64764f6c8bfd2a6369b2 |
| 0920cf9 | https://github.com/clerk/javascript/pull/8007/commits/0920cf9b5083f31c364b64764f6c8bfd2a6369b2 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://clerk-js-sandbox-jhw21lsis.clerkstage.dev |
| March 9, 2026 19:04 | https://github.com/clerk/javascript/pull/8007#event-23406834462 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Apr 30, 2026 | https://github.com/clerk/javascript/pull/8007#issuecomment-4348501785 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Stale
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3AStale |
| Apr 30, 2026 | https://github.com/clerk/javascript/pull/8007#event-25013539315 |
| Merge branch 'main' into jacek/improve-auth-middleware-error-message | https://github.com/clerk/javascript/pull/8007/commits/ff2fc75ec6a196b9693c290fc348055e0e96c210 |
| ff2fc75 | https://github.com/clerk/javascript/pull/8007/commits/ff2fc75ec6a196b9693c290fc348055e0e96c210 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-jfb3n9nyl.clerkstage.dev |
| Preview | https://clerk-js-sandbox-jfb3n9nyl.clerkstage.dev |
| May 1, 2026 03:19 | https://github.com/clerk/javascript/pull/8007#event-25060613833 |
| View deployment | https://clerk-js-sandbox-jfb3n9nyl.clerkstage.dev |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
Stale
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3AStale |
| May 2, 2026 | https://github.com/clerk/javascript/pull/8007#event-25085989368 |
| Merge branch 'main' into jacek/improve-auth-middleware-error-message | https://github.com/clerk/javascript/pull/8007/commits/667c1f7287b6d51eff108f51f52bde475e82e308 |
| 667c1f7 | https://github.com/clerk/javascript/pull/8007/commits/667c1f7287b6d51eff108f51f52bde475e82e308 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-c2t19ax8h.clerkstage.dev |
| Preview | https://clerk-js-sandbox-c2t19ax8h.clerkstage.dev |
| May 5, 2026 19:06 | https://github.com/clerk/javascript/pull/8007#event-25190430697 |
| View deployment | https://clerk-js-sandbox-c2t19ax8h.clerkstage.dev |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
|
May 5, 2026
| https://github.com/clerk/javascript/pull/8007#pullrequestreview-4230989337 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8007/files/667c1f7287b6d51eff108f51f52bde475e82e308 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| 30ec271 | https://github.com/clerk/javascript/commit/30ec271cacbfe57b1c71dcd53f3f1ca5e6c5525c |
| May 5, 2026 | https://github.com/clerk/javascript/pull/8007#event-25195082587 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| May 5, 2026 21:35 | https://github.com/clerk/javascript/pull/8007#event-25195083759 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
May 5, 2026
| https://github.com/clerk/javascript/pull/8007#ref-pullrequest-4387271773 |
|
ci(repo): Version packages
#8484
| https://github.com/clerk/javascript/pull/8484 |
| Deployed | https://clerk-js-sandbox-c2t19ax8h.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-c2t19ax8h.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%2F8007 |
|
| https://github.com/tmilewski |
|
tmilewski
| https://github.com/tmilewski |
|
| https://github.com/clerk/javascript/pull/8007/files/d16df7dc005d3e22fa0fc31281ab7f8279bd6fa6 |
|
| https://github.com/brkalow |
|
brkalow
| https://github.com/brkalow |
|
| https://github.com/clerk/javascript/pull/8007/files/4730b3a595093aa297251518ddd907c0d7e9127d |
|
| https://github.com/wobsoriano |
|
wobsoriano
| https://github.com/wobsoriano |
|
| https://github.com/clerk/javascript/pull/8007/files/667c1f7287b6d51eff108f51f52bde475e82e308 |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Please reload this page | https://github.com/clerk/javascript/pull/8007 |
|
| https://github.com/jacekradko |
|
| https://github.com/tmilewski |
|
| https://github.com/brkalow |
|
| https://github.com/wobsoriano |
|
| 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 |