| 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:fd477d85-abf4-19df-f12a-e0dbfb3485dc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E94:70580:2FBDEF:441ACE:6AFB2609 |
| html-safe-nonce | 3e47aa200c5a64f0b977b0208ced78e3ec86205ebbaab672a0da9ba287a5c0aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTk0OjcwNTgwOjJGQkRFRjo0NDFBQ0U6NkFGQjI2MDkiLCJ2aXNpdG9yX2lkIjoiNDc0NTQxNDA2NjExNTkxMzIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1a83c2d2fa8a9e53a6abe491cba8a021042625d50047b8b4b5f514f6853ec704 |
| hovercard-subject-tag | pull_request:2333970406 |
| 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/5147/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e29e55a254c2466e9c266187d88070bb6d05f6ca450d9db6b94476208397f5cc/clerk/javascript/pull/5147 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e29e55a254c2466e9c266187d88070bb6d05f6ca450d9db6b94476208397f5cc/clerk/javascript/pull/5147 |
| og:image:alt | Description
Update ClerkMiddlewareOptionsCallback to accept an async function for the use case where you need to go and fetch the options from an external store. I'm unsure whether this is tech... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | itsjxck |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9219899e0d0ce0b87aeba2c640c955f83631457e5baff5df7a36ce599d2635b |
| 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 | dd3b60f1fd9c5f10a3dcde41ae35682f53e85cee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/5147#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5147 |
| 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%2F5147 |
| 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/5147 |
| Reload | https://github.com/clerk/javascript/pull/5147 |
| Reload | https://github.com/clerk/javascript/pull/5147 |
| 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 |
| itsjxck | https://github.com/itsjxck |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| itsjxck:fix/accept-async-clerk-middleware-options-callback | https://github.com/itsjxck/clerk-javascript/tree/fix/accept-async-clerk-middleware-options-callback |
| Conversation | https://github.com/clerk/javascript/pull/5147 |
| Commits5 (5) | https://github.com/clerk/javascript/pull/5147/commits |
| Checks | https://github.com/clerk/javascript/pull/5147/checks |
| Files changed | https://github.com/clerk/javascript/pull/5147/files |
| fix(nextjs): Update clerkMiddleware request callback to accept an async function | https://github.com/clerk/javascript/pull/5147#top |
| itsjxck | https://github.com/itsjxck |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| itsjxck:fix/accept-async-clerk-middleware-options-callback | https://github.com/itsjxck/clerk-javascript/tree/fix/accept-async-clerk-middleware-options-callback |
|
| https://github.com/itsjxck |
| itsjxck | https://github.com/itsjxck |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issue-2851236981 |
| 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/5147 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issuecomment-2656803865 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| c8bf4b8 | https://github.com/clerk/javascript/commit/c8bf4b874f12763adce1fc9ce932d233c0151156 |
| 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/itsjxck/clerk-javascript/new/fix/accept-async-clerk-middleware-options-callback?filename=.changeset/gold-walls-sell.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20Update%20%60clerkMiddleware%60%20request%20callback%20to%20accept%20an%20async%20function%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issuecomment-2656804047 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| Vercel for Git ↗︎ | https://vercel.link/github-learn-more |
| Inspect | https://vercel.com/clerk-production/clerk-js-sandbox/EafqhoPayY7zEokGv1kWh1SRSwkX |
| Visit Preview | https://clerk-js-sandbox-git-fork-itsjxck-fix-accept-async-clerk-bebafb.clerkstage.dev |
| Add feedback | https://vercel.live/open-feedback/clerk-js-sandbox-git-fork-itsjxck-fix-accept-async-clerk-bebafb.clerkstage.dev?via=pr-comment-feedback-link |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#event-16297686471 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-a81u4qdys.clerkstage.dev |
| Preview | https://clerk-js-sandbox-a81u4qdys.clerkstage.dev |
| February 13, 2025 14:42 | https://github.com/clerk/javascript/pull/5147#event-16297713609 |
| View deployment | https://clerk-js-sandbox-a81u4qdys.clerkstage.dev |
| https://github.com/itsjxck |
| itsjxck | https://github.com/itsjxck |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#event-16297849640 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
|
Feb 13, 2025
| https://github.com/clerk/javascript/pull/5147#pullrequestreview-2615651228 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/5147/files |
| packages/nextjs/src/server/clerkMiddleware.ts | https://github.com/clerk/javascript/pull/5147/files#diff-f6d762a2890e99ee53fbdeb979f234d6dd5bcd2299c5925bee9859b14b205d71 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev |
| Preview | https://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev |
| February 13, 2025 17:02 | https://github.com/clerk/javascript/pull/5147#event-16299936735 |
| View deployment | https://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-r8cg2p4om.clerkstage.dev |
| Preview | https://clerk-js-sandbox-r8cg2p4om.clerkstage.dev |
| February 13, 2025 17:11 | https://github.com/clerk/javascript/pull/5147#event-16300064717 |
| View deployment | https://clerk-js-sandbox-r8cg2p4om.clerkstage.dev |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issuecomment-2657257543 |
| @itsjxck | https://github.com/itsjxck |
| here | https://github.com/clerk/javascript/pull/4160 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-a06fdz50f.clerkstage.dev |
| Preview | https://clerk-js-sandbox-a06fdz50f.clerkstage.dev |
| February 13, 2025 17:15 | https://github.com/clerk/javascript/pull/5147#event-16300113274 |
| View deployment | https://clerk-js-sandbox-a06fdz50f.clerkstage.dev |
| https://github.com/itsjxck |
| itsjxck | https://github.com/itsjxck |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issuecomment-2657274235 |
| @LauraBeatris | https://github.com/LauraBeatris |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#event-16301681538 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
|
Feb 13, 2025
| https://github.com/clerk/javascript/pull/5147#pullrequestreview-2616030656 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/5147/files/c8bf4b874f12763adce1fc9ce932d233c0151156 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| force-pushed | https://github.com/clerk/javascript/compare/e140d8b4b30254cfc83097531f6487bee145cc42..ce8f6ef71897853f7cad07b1234422a0c781e60c |
| e140d8b | https://github.com/clerk/javascript/commit/e140d8b4b30254cfc83097531f6487bee145cc42 |
| ce8f6ef | https://github.com/clerk/javascript/commit/ce8f6ef71897853f7cad07b1234422a0c781e60c |
|
Compare
| https://github.com/clerk/javascript/compare/e140d8b4b30254cfc83097531f6487bee145cc42..ce8f6ef71897853f7cad07b1234422a0c781e60c |
| February 13, 2025 19:30 | https://github.com/clerk/javascript/pull/5147#event-16301695151 |
| February 13, 2025 16:30 | https://github.com/clerk/javascript/pull/5147#commits-pushed-d4f5b84 |
|
| https://github.com/LauraBeatris |
| fix(nextjs): accept async callback for ClerkMiddlewareOptionsCallback | https://github.com/clerk/javascript/pull/5147/commits/d4f5b8416c79a35be8ba8d73ebfdb0a90bd09254 |
| d4f5b84 | https://github.com/clerk/javascript/pull/5147/commits/d4f5b8416c79a35be8ba8d73ebfdb0a90bd09254 |
|
| https://github.com/LauraBeatris |
| Add unit tests for async/sync callbacks | https://github.com/clerk/javascript/pull/5147/commits/31facf760474412ab049c59833817dc1af601ea8 |
| 31facf7 | https://github.com/clerk/javascript/pull/5147/commits/31facf760474412ab049c59833817dc1af601ea8 |
|
| https://github.com/LauraBeatris |
| Update changeset | https://github.com/clerk/javascript/pull/5147/commits/fe8b23d2fa6c6ffe112c1596296b6167c8116cce |
| fe8b23d | https://github.com/clerk/javascript/pull/5147/commits/fe8b23d2fa6c6ffe112c1596296b6167c8116cce |
|
| https://github.com/LauraBeatris |
| Update changeset | https://github.com/clerk/javascript/pull/5147/commits/eeb8df59578595e46caff2e8f5456d858b0297ff |
| eeb8df5 | https://github.com/clerk/javascript/pull/5147/commits/eeb8df59578595e46caff2e8f5456d858b0297ff |
|
| https://github.com/LauraBeatris |
| Fix typo on test cases | https://github.com/clerk/javascript/pull/5147/commits/c8bf4b874f12763adce1fc9ce932d233c0151156 |
| c8bf4b8 | https://github.com/clerk/javascript/pull/5147/commits/c8bf4b874f12763adce1fc9ce932d233c0151156 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| force-pushed | https://github.com/clerk/javascript/compare/ce8f6ef71897853f7cad07b1234422a0c781e60c..c8bf4b874f12763adce1fc9ce932d233c0151156 |
| ce8f6ef | https://github.com/clerk/javascript/commit/ce8f6ef71897853f7cad07b1234422a0c781e60c |
| c8bf4b8 | https://github.com/clerk/javascript/commit/c8bf4b874f12763adce1fc9ce932d233c0151156 |
|
Compare
| https://github.com/clerk/javascript/compare/ce8f6ef71897853f7cad07b1234422a0c781e60c..c8bf4b874f12763adce1fc9ce932d233c0151156 |
| February 13, 2025 19:31 | https://github.com/clerk/javascript/pull/5147#event-16301700363 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-228y1pvl1.clerkstage.dev |
| Preview | https://clerk-js-sandbox-228y1pvl1.clerkstage.dev |
| February 13, 2025 19:33 | https://github.com/clerk/javascript/pull/5147#event-16301722746 |
| View deployment | https://clerk-js-sandbox-228y1pvl1.clerkstage.dev |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
|
Feb 13, 2025
| https://github.com/clerk/javascript/pull/5147#ref-pullrequest-2851955134 |
|
fix(nextjs): Update clerkMiddleware request callback to accept an async function
#5154
| https://github.com/clerk/javascript/pull/5154 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#issuecomment-2657567096 |
| @itsjxck | https://github.com/itsjxck |
| #5154 | https://github.com/clerk/javascript/pull/5154 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
| https://github.com/LauraBeatris |
| LauraBeatris | https://github.com/LauraBeatris |
| Feb 13, 2025 | https://github.com/clerk/javascript/pull/5147#event-16301890582 |
| Deployed | https://clerk-js-sandbox-228y1pvl1.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-228y1pvl1.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%2F5147 |
|
| https://github.com/LauraBeatris |
|
LauraBeatris
| https://github.com/LauraBeatris |
|
| https://github.com/clerk/javascript/pull/5147/files/c8bf4b874f12763adce1fc9ce932d233c0151156 |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
|
nextjs
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs |
| Please reload this page | https://github.com/clerk/javascript/pull/5147 |
|
| https://github.com/itsjxck |
|
| https://github.com/LauraBeatris |
|
| 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 |