René's URL Explorer Experiment


Title: fix(nextjs): Update `clerkMiddleware` request callback to accept an async function by itsjxck · Pull Request #5147 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): Update `clerkMiddleware` request callback to accept an async function by itsjxck · Pull Request #5147 · clerk/javascript

X Title: fix(nextjs): Update `clerkMiddleware` request callback to accept an async function by itsjxck · Pull Request #5147 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): Update `clerkMiddleware` request callback to accept an async function by itsjxck · Pull Request #5147 · clerk/javascript

Open Graph Description: 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...

X Description: 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 ...

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

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:fd477d85-abf4-19df-f12a-e0dbfb3485dc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E94:70580:2FBDEF:441ACE:6AFB2609
html-safe-nonce3e47aa200c5a64f0b977b0208ced78e3ec86205ebbaab672a0da9ba287a5c0aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTk0OjcwNTgwOjJGQkRFRjo0NDFBQ0U6NkFGQjI2MDkiLCJ2aXNpdG9yX2lkIjoiNDc0NTQxNDA2NjExNTkxMzIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1a83c2d2fa8a9e53a6abe491cba8a021042625d50047b8b4b5f514f6853ec704
hovercard-subject-tagpull_request:2333970406
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/5147/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e29e55a254c2466e9c266187d88070bb6d05f6ca450d9db6b94476208397f5cc/clerk/javascript/pull/5147
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e29e55a254c2466e9c266187d88070bb6d05f6ca450d9db6b94476208397f5cc/clerk/javascript/pull/5147
og:image:altDescription 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameitsjxck
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/5147#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5147
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%2F5147
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/5147
Reloadhttps://github.com/clerk/javascript/pull/5147
Reloadhttps://github.com/clerk/javascript/pull/5147
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
itsjxckhttps://github.com/itsjxck
clerk:mainhttps://github.com/clerk/javascript/tree/main
itsjxck:fix/accept-async-clerk-middleware-options-callbackhttps://github.com/itsjxck/clerk-javascript/tree/fix/accept-async-clerk-middleware-options-callback
Conversationhttps://github.com/clerk/javascript/pull/5147
Commits5 (5)https://github.com/clerk/javascript/pull/5147/commits
Checkshttps://github.com/clerk/javascript/pull/5147/checks
Files changedhttps://github.com/clerk/javascript/pull/5147/files
fix(nextjs): Update clerkMiddleware request callback to accept an async functionhttps://github.com/clerk/javascript/pull/5147#top
itsjxckhttps://github.com/itsjxck
clerk:mainhttps://github.com/clerk/javascript/tree/main
itsjxck:fix/accept-async-clerk-middleware-options-callbackhttps://github.com/itsjxck/clerk-javascript/tree/fix/accept-async-clerk-middleware-options-callback
https://github.com/itsjxck
itsjxckhttps://github.com/itsjxck
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issue-2851236981
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issuecomment-2656803865
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
c8bf4b8https://github.com/clerk/javascript/commit/c8bf4b874f12763adce1fc9ce932d233c0151156
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/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 pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issuecomment-2656804047
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/EafqhoPayY7zEokGv1kWh1SRSwkX
Visit Previewhttps://clerk-js-sandbox-git-fork-itsjxck-fix-accept-async-clerk-bebafb.clerkstage.dev
Add feedbackhttps://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 pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#event-16297686471
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-a81u4qdys.clerkstage.dev
Previewhttps://clerk-js-sandbox-a81u4qdys.clerkstage.dev
February 13, 2025 14:42https://github.com/clerk/javascript/pull/5147#event-16297713609
View deploymenthttps://clerk-js-sandbox-a81u4qdys.clerkstage.dev
https://github.com/itsjxck
itsjxckhttps://github.com/itsjxck
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#event-16297849640
https://github.com/LauraBeatris
LauraBeatrishttps://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.tshttps://github.com/clerk/javascript/pull/5147/files#diff-f6d762a2890e99ee53fbdeb979f234d6dd5bcd2299c5925bee9859b14b205d71
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev
Previewhttps://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev
February 13, 2025 17:02https://github.com/clerk/javascript/pull/5147#event-16299936735
View deploymenthttps://clerk-js-sandbox-ltlvjrwvt.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-r8cg2p4om.clerkstage.dev
Previewhttps://clerk-js-sandbox-r8cg2p4om.clerkstage.dev
February 13, 2025 17:11https://github.com/clerk/javascript/pull/5147#event-16300064717
View deploymenthttps://clerk-js-sandbox-r8cg2p4om.clerkstage.dev
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issuecomment-2657257543
@itsjxckhttps://github.com/itsjxck
herehttps://github.com/clerk/javascript/pull/4160
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-a06fdz50f.clerkstage.dev
Previewhttps://clerk-js-sandbox-a06fdz50f.clerkstage.dev
February 13, 2025 17:15https://github.com/clerk/javascript/pull/5147#event-16300113274
View deploymenthttps://clerk-js-sandbox-a06fdz50f.clerkstage.dev
https://github.com/itsjxck
itsjxckhttps://github.com/itsjxck
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issuecomment-2657274235
@LauraBeatrishttps://github.com/LauraBeatris
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#event-16301681538
https://github.com/LauraBeatris
LauraBeatrishttps://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
LauraBeatrishttps://github.com/LauraBeatris
force-pushedhttps://github.com/clerk/javascript/compare/e140d8b4b30254cfc83097531f6487bee145cc42..ce8f6ef71897853f7cad07b1234422a0c781e60c
e140d8bhttps://github.com/clerk/javascript/commit/e140d8b4b30254cfc83097531f6487bee145cc42
ce8f6efhttps://github.com/clerk/javascript/commit/ce8f6ef71897853f7cad07b1234422a0c781e60c
Compare https://github.com/clerk/javascript/compare/e140d8b4b30254cfc83097531f6487bee145cc42..ce8f6ef71897853f7cad07b1234422a0c781e60c
February 13, 2025 19:30https://github.com/clerk/javascript/pull/5147#event-16301695151
February 13, 2025 16:30https://github.com/clerk/javascript/pull/5147#commits-pushed-d4f5b84
https://github.com/LauraBeatris
fix(nextjs): accept async callback for ClerkMiddlewareOptionsCallbackhttps://github.com/clerk/javascript/pull/5147/commits/d4f5b8416c79a35be8ba8d73ebfdb0a90bd09254
d4f5b84https://github.com/clerk/javascript/pull/5147/commits/d4f5b8416c79a35be8ba8d73ebfdb0a90bd09254
https://github.com/LauraBeatris
Add unit tests for async/sync callbackshttps://github.com/clerk/javascript/pull/5147/commits/31facf760474412ab049c59833817dc1af601ea8
31facf7https://github.com/clerk/javascript/pull/5147/commits/31facf760474412ab049c59833817dc1af601ea8
https://github.com/LauraBeatris
Update changesethttps://github.com/clerk/javascript/pull/5147/commits/fe8b23d2fa6c6ffe112c1596296b6167c8116cce
fe8b23dhttps://github.com/clerk/javascript/pull/5147/commits/fe8b23d2fa6c6ffe112c1596296b6167c8116cce
https://github.com/LauraBeatris
Update changesethttps://github.com/clerk/javascript/pull/5147/commits/eeb8df59578595e46caff2e8f5456d858b0297ff
eeb8df5https://github.com/clerk/javascript/pull/5147/commits/eeb8df59578595e46caff2e8f5456d858b0297ff
https://github.com/LauraBeatris
Fix typo on test caseshttps://github.com/clerk/javascript/pull/5147/commits/c8bf4b874f12763adce1fc9ce932d233c0151156
c8bf4b8https://github.com/clerk/javascript/pull/5147/commits/c8bf4b874f12763adce1fc9ce932d233c0151156
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
force-pushedhttps://github.com/clerk/javascript/compare/ce8f6ef71897853f7cad07b1234422a0c781e60c..c8bf4b874f12763adce1fc9ce932d233c0151156
ce8f6efhttps://github.com/clerk/javascript/commit/ce8f6ef71897853f7cad07b1234422a0c781e60c
c8bf4b8https://github.com/clerk/javascript/commit/c8bf4b874f12763adce1fc9ce932d233c0151156
Compare https://github.com/clerk/javascript/compare/ce8f6ef71897853f7cad07b1234422a0c781e60c..c8bf4b874f12763adce1fc9ce932d233c0151156
February 13, 2025 19:31https://github.com/clerk/javascript/pull/5147#event-16301700363
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-228y1pvl1.clerkstage.dev
Previewhttps://clerk-js-sandbox-228y1pvl1.clerkstage.dev
February 13, 2025 19:33https://github.com/clerk/javascript/pull/5147#event-16301722746
View deploymenthttps://clerk-js-sandbox-228y1pvl1.clerkstage.dev
https://github.com/LauraBeatris
LauraBeatrishttps://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
LauraBeatrishttps://github.com/LauraBeatris
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#issuecomment-2657567096
@itsjxckhttps://github.com/itsjxck
#5154https://github.com/clerk/javascript/pull/5154
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/LauraBeatris
LauraBeatrishttps://github.com/LauraBeatris
Feb 13, 2025https://github.com/clerk/javascript/pull/5147#event-16301890582
Deployedhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/clerk/javascript/pull/5147
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/5147
https://github.com/itsjxck
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.