René's URL Explorer Experiment


Title: fix(backend): Scope the JWKS cache per Clerk instance by dominic-clerk · Pull Request #9394 · clerk/javascript · GitHub

Open Graph Title: fix(backend): Scope the JWKS cache per Clerk instance by dominic-clerk · Pull Request #9394 · clerk/javascript

X Title: fix(backend): Scope the JWKS cache per Clerk instance by dominic-clerk · Pull Request #9394 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(backend): Scope the JWKS cache per Clerk instance by dominic-clerk · Pull Request #9394 · clerk/javascript

Open Graph Description: Description The module-level JWKS cache was keyed on the bare kid. Because a Clerk kid is the instance id, a key cached for one instance was a direct hit for another instance's verification in ...

X Description: Description The module-level JWKS cache was keyed on the bare kid. Because a Clerk kid is the instance id, a key cached for one instance was a direct hit for another instance's verification...

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

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:9ad15ac8-bd34-4ee1-a12c-7fc43e598a8e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id917E:3F87F:FABB22:15DA3E9:6AFAD3EB
html-safe-nonce1ca4fe795c56eccbdeed0a0afadbbbb66a03a58970e9f71f99765b0018783ced
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTdFOjNGODdGOkZBQkIyMjoxNURBM0U5OjZBRkFEM0VCIiwidmlzaXRvcl9pZCI6IjU3NDg3NjQ0OTQyODA3MDkwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6fe2269cc82e9c8a1acd633986f4d46cb3d79d1b804eb3279433b79d3e23f66a
hovercard-subject-tagpull_request:4253132748
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/9394/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dcc873bb6a5763fd9d0267fb97c6c09b4e81d6173aa7ca10de00d9940e72c155/clerk/javascript/pull/9394
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dcc873bb6a5763fd9d0267fb97c6c09b4e81d6173aa7ca10de00d9940e72c155/clerk/javascript/pull/9394
og:image:altDescription The module-level JWKS cache was keyed on the bare kid. Because a Clerk kid is the instance id, a key cached for one instance was a direct hit for another instance's verification in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedominic-clerk
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
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
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9394#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9394
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%2F9394
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/9394
Reloadhttps://github.com/clerk/javascript/pull/9394
Reloadhttps://github.com/clerk/javascript/pull/9394
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
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dominic/sdk-148-cross-tenant-authentication-bypass-in-clerkbackend-modulehttps://github.com/clerk/javascript/tree/dominic/sdk-148-cross-tenant-authentication-bypass-in-clerkbackend-module
Conversationhttps://github.com/clerk/javascript/pull/9394
Commits2 (2)https://github.com/clerk/javascript/pull/9394/commits
Checkshttps://github.com/clerk/javascript/pull/9394/checks
Files changedhttps://github.com/clerk/javascript/pull/9394/files
fix(backend): Scope the JWKS cache per Clerk instancehttps://github.com/clerk/javascript/pull/9394#top
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dominic/sdk-148-cross-tenant-authentication-bypass-in-clerkbackend-modulehttps://github.com/clerk/javascript/tree/dominic/sdk-148-cross-tenant-authentication-bypass-in-clerkbackend-module
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issue-5120126708
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/dominic-clerk
fix(backend): Scope the JWKS cache per Clerk instancehttps://github.com/clerk/javascript/pull/9394/commits/7cc23a02a579793da08bf204b57d867e1fb36ff9
7cc23a0https://github.com/clerk/javascript/pull/9394/commits/7cc23a02a579793da08bf204b57d867e1fb36ff9
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issuecomment-5253124912
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
Vercel for GitHubhttps://vercel.link/github-learn-more
https://vercel.com/clerk-production/clerk-js-sandbox
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/6E25LD3yE8qnocqmDWfYkZxdsF3f
Previewhttps://clerk-js-sandbox-git-dominic-sdk-148-cross-tenant-authen-29e984.clerkstage.dev
https://vercel.com/clerk-production/swingset
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/6wYKrXqVbB9a1dTyZdrun7BhCdZ2
Previewhttps://swingset-git-dominic-sdk-148-cross-tenant-authentication-46448b.clerkstage.dev
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9394
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issuecomment-5253125692
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
8808214https://github.com/clerk/javascript/commit/8808214e2108756c39394a415bfcb569562d0590
Click here to learn what changesets arehttps://changesets.dev/faq
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/dominic/sdk-148-cross-tenant-authentication-bypass-in-clerkbackend-module?filename=.changeset/cozy-hairs-end.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afix(backend)%3A%20Scope%20the%20JWKS%20cache%20per%20Clerk%20instance%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#event-29278945242
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issuecomment-5253158414
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
Open in StackBlitzhttps://pkg.pr.new/template/5dc56ea8-e2ab-420b-b48f-68c49265cf96
8808214https://github.com/clerk/javascript/runs/94430863478
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issuecomment-5253174157
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 11, 2026https://github.com/clerk/javascript/pull/9394#issuecomment-5253204500
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9394?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
7cc23a0https://github.com/clerk/javascript/commit/7cc23a02a579793da08bf204b57d867e1fb36ff9
8808214https://github.com/clerk/javascript/commit/8808214e2108756c39394a415bfcb569562d0590
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 11, 2026 https://github.com/clerk/javascript/pull/9394#pullrequestreview-4906222538
View reviewed changes https://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9394#pullrequestreview-4906222538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
29c9017https://github.com/clerk/javascript/commit/29c901738a9b0231fa398b5ec3e140e8e8cacc21
7cc23a0https://github.com/clerk/javascript/commit/7cc23a02a579793da08bf204b57d867e1fb36ff9
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
packages/backend/src/tokens/__tests__/keys.test.tshttps://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9#diff-44067e9418fbb2f72835ded1555d428f763121933f1f98a023d6341779f9e72a
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
packages/backend/src/tokens/keys.tshttps://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9#diff-c0eb57faab3f259b8fa781f6a168df547fe1080b0b5a9799075265fb5e50f6d1
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Aug 11, 2026 https://github.com/clerk/javascript/pull/9394#pullrequestreview-4908362938
View reviewed changes https://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9
packages/backend/src/tokens/keys.tshttps://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9#diff-c0eb57faab3f259b8fa781f6a168df547fe1080b0b5a9799075265fb5e50f6d1
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/dominic-clerk
https://github.com/claude
fix(backend): Derive local JWKs from the provided jwtKey and bound th…https://github.com/clerk/javascript/pull/9394/commits/8808214e2108756c39394a415bfcb569562d0590
8808214https://github.com/clerk/javascript/pull/9394/commits/8808214e2108756c39394a415bfcb569562d0590
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-25ldg8xet.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-25ldg8xet.clerkstage.dev
August 13, 2026 11:17https://github.com/clerk/javascript/pull/9394#event-29396208942
View deploymenthttps://clerk-js-sandbox-25ldg8xet.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-43lh98gn6.clerkstage.dev
Preview – swingsethttps://swingset-43lh98gn6.clerkstage.dev
August 13, 2026 11:19https://github.com/clerk/javascript/pull/9394#event-29396297945
View deploymenthttps://swingset-43lh98gn6.clerkstage.dev
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 15, 2026 https://github.com/clerk/javascript/pull/9394#ref-pullrequest-5161119286
F/clerk login LorenzoFerraces/Vela#15 https://github.com/LorenzoFerraces/Vela/pull/15
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
wobsorianohttps://github.com/wobsoriano
August 18, 2026 07:28https://github.com/clerk/javascript/pull/9394#event-29603877812
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Aug 18, 2026 https://github.com/clerk/javascript/pull/9394#pullrequestreview-4963024492
View reviewed changes https://github.com/clerk/javascript/pull/9394/files/8808214e2108756c39394a415bfcb569562d0590
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
4ebcff3https://github.com/clerk/javascript/commit/4ebcff39c7a9ba532307e50b8ab673637d9f7540
Aug 18, 2026https://github.com/clerk/javascript/pull/9394#event-29630429785
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
August 18, 2026 15:54https://github.com/clerk/javascript/pull/9394#event-29630431546
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Aug 18, 2026 https://github.com/clerk/javascript/pull/9394#ref-pullrequest-5181424445
ci(repo): Version packages #9477 https://github.com/clerk/javascript/pull/9477
perf: support networkless clerk session verification okou-ai/okou#46117 https://github.com/okou-ai/okou/issues/46117
chore(api): record clerk session verification timings okou-ai/okou#46121 https://github.com/okou-ai/okou/pull/46121
Deployedhttps://swingset-43lh98gn6.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-43lh98gn6.clerkstage.dev
Deployedhttps://clerk-js-sandbox-25ldg8xet.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-25ldg8xet.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%2F9394
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9394/files/7cc23a02a579793da08bf204b57d867e1fb36ff9
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/9394/files/8808214e2108756c39394a415bfcb569562d0590
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Please reload this pagehttps://github.com/clerk/javascript/pull/9394
https://github.com/dominic-clerk
https://github.com/brkalow
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.