René's URL Explorer Experiment


Title: fix(nextjs): allow Clerk protection origins in generated CSP by mwickett · Pull Request #9199 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): allow Clerk protection origins in generated CSP by mwickett · Pull Request #9199 · clerk/javascript

X Title: fix(nextjs): allow Clerk protection origins in generated CSP by mwickett · Pull Request #9199 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): allow Clerk protection origins in generated CSP by mwickett · Pull Request #9199 · clerk/javascript

Open Graph Description: Description Clerk's generated Content Security Policy did not explicitly allow the origins used to protect applications against abuse and fraud. This meant applications relying on clerkMiddlewa...

X Description: Description Clerk's generated Content Security Policy did not explicitly allow the origins used to protect applications against abuse and fraud. This meant applications relying on clerkMidd...

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

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:20e79593-f455-051c-d4b9-1650818e909b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA590:387B0D:2E3CD27:4124F0A:6AFAD31C
html-safe-nonce3670643a9f6c0de561b73601ef1d8385ff9e7f653b3b93ee7c51aadafe8de223
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTkwOjM4N0IwRDoyRTNDRDI3OjQxMjRGMEE6NkFGQUQzMUMiLCJ2aXNpdG9yX2lkIjoiOTA4OTU1ODkyNjYzMzY1MzAyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9adf4b2089d8e12e5de57f8401a3cb040b9d16575ae2abee7f641f3b4480fb0
hovercard-subject-tagpull_request:4093827469
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/9199/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9506cb3ba9b82a2bcfd38d004d29a3e05afeea05e96763ccd5fc93ccadfd9373/clerk/javascript/pull/9199
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9506cb3ba9b82a2bcfd38d004d29a3e05afeea05e96763ccd5fc93ccadfd9373/clerk/javascript/pull/9199
og:image:altDescription Clerk's generated Content Security Policy did not explicitly allow the origins used to protect applications against abuse and fraud. This meant applications relying on clerkMiddlewa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemwickett
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9199#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9199
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%2F9199
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/9199
Reloadhttps://github.com/clerk/javascript/pull/9199
Reloadhttps://github.com/clerk/javascript/pull/9199
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
mwicketthttps://github.com/mwickett
mainhttps://github.com/clerk/javascript/tree/main
agent/add-protect-csp-defaultshttps://github.com/clerk/javascript/tree/agent/add-protect-csp-defaults
Conversationhttps://github.com/clerk/javascript/pull/9199
Commits2 (2)https://github.com/clerk/javascript/pull/9199/commits
Checkshttps://github.com/clerk/javascript/pull/9199/checks
Files changedhttps://github.com/clerk/javascript/pull/9199/files
fix(nextjs): allow Clerk protection origins in generated CSPhttps://github.com/clerk/javascript/pull/9199#top
mwicketthttps://github.com/mwickett
mainhttps://github.com/clerk/javascript/tree/main
agent/add-protect-csp-defaultshttps://github.com/clerk/javascript/tree/agent/add-protect-csp-defaults
https://github.com/mwickett
mwicketthttps://github.com/mwickett
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issue-4932205799
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/clerk/clerk/pull/2986https://github.com/clerk/clerk/pull/2986
https://github.com/clerk/cloudflare-workers/pull/2416https://github.com/clerk/cloudflare-workers/pull/2416
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/mwickett
fix(nextjs): allow Clerk protection origins in generated CSPhttps://github.com/clerk/javascript/pull/9199/commits/f62bc9223cf1e0ff57f59747121398fe9e83e2ea
f62bc92https://github.com/clerk/javascript/pull/9199/commits/f62bc9223cf1e0ff57f59747121398fe9e83e2ea
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026143332
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
Vercel for GitHubhttps://vercel.link/github-learn-more
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/EWoq3kqQ4KdLRQXCiqVCDnHpz5q7
Previewhttps://swingset-git-agent-add-protect-csp-defaults.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-agent-add-protect-csp-defaults.clerkstage.dev?via=pr-comment-feedback-link
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/clerk-production/clerk-js-sandbox/ApxTEmWQHNW1CEkjZHMzjYBHMaQk
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9199
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026143465
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
0c37a56https://github.com/clerk/javascript/commit/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
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/clerk/javascript/new/agent/add-protect-csp-defaults?filename=.changeset/breezy-parrots-heal.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20allow%20Clerk%20protection%20origins%20in%20generated%20CSP%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#event-28230280321
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-qubl1wrmg.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-qubl1wrmg.clerkstage.dev
July 20, 2026 19:11https://github.com/clerk/javascript/pull/9199#event-28230303234
View deploymenthttps://clerk-js-sandbox-qubl1wrmg.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026162754
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
Open in StackBlitzhttps://pkg.pr.new/template/9321c8dc-9ba6-4ab2-bdad-dc8acba40ea5
0c37a56https://github.com/clerk/javascript/runs/88456912097
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-98rfa4nt6.clerkstage.dev
Preview – swingsethttps://swingset-98rfa4nt6.clerkstage.dev
July 20, 2026 19:12https://github.com/clerk/javascript/pull/9199#event-28230364798
View deploymenthttps://swingset-98rfa4nt6.clerkstage.dev
https://github.com/mwickett
mwicketthttps://github.com/mwickett
July 20, 2026 19:34https://github.com/clerk/javascript/pull/9199#event-28231337543
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026414871
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026429701
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9199?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 20, 2026 https://github.com/clerk/javascript/pull/9199#pullrequestreview-4738352328
View reviewed changes https://github.com/clerk/javascript/pull/9199/files/f62bc9223cf1e0ff57f59747121398fe9e83e2ea
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9199#pullrequestreview-4738352328
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
a009d91https://github.com/clerk/javascript/commit/a009d919b32a08fac7b2695bedfa840fd047e88a
f62bc92https://github.com/clerk/javascript/commit/f62bc9223cf1e0ff57f59747121398fe9e83e2ea
PR #2986 agent/update-protect-csp-docshttps://github.com/clerk/clerk/pull/2986
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/mwickett
test(nextjs): cover protection origins in strict CSPhttps://github.com/clerk/javascript/pull/9199/commits/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
0c37a56https://github.com/clerk/javascript/pull/9199/commits/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-453ni65nk.clerkstage.dev
July 20, 2026 19:45https://github.com/clerk/javascript/pull/9199#event-28231790123
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-qwojw3fju.clerkstage.dev
Preview – swingsethttps://swingset-qwojw3fju.clerkstage.dev
July 20, 2026 19:47https://github.com/clerk/javascript/pull/9199#event-28231885420
View deploymenthttps://swingset-qwojw3fju.clerkstage.dev
https://github.com/mwickett
mwicketthttps://github.com/mwickett
Jul 20, 2026https://github.com/clerk/javascript/pull/9199#issuecomment-5026599797
0c37a56https://github.com/clerk/javascript/commit/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Jul 20, 2026 https://github.com/clerk/javascript/pull/9199#pullrequestreview-4739372531
View reviewed changes https://github.com/clerk/javascript/pull/9199/files/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
https://github.com/mwickett
mwicketthttps://github.com/mwickett
9f8e85chttps://github.com/clerk/javascript/commit/9f8e85c335ae5fffcb217ed5d97d96f0d19bd5a0
Jul 21, 2026https://github.com/clerk/javascript/pull/9199#event-28274735064
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/mwickett
mwicketthttps://github.com/mwickett
July 21, 2026 14:35https://github.com/clerk/javascript/pull/9199#event-28274736874
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 21, 2026 https://github.com/clerk/javascript/pull/9199#ref-pullrequest-4914484174
ci(repo): Version packages #9195 https://github.com/clerk/javascript/pull/9195
https://github.com/mwickett
mwicketthttps://github.com/mwickett
Jul 21, 2026 https://github.com/clerk/javascript/pull/9199#ref-pullrequest-4942379168
fix(nextjs): remove redundant protection CSP source #9207 https://github.com/clerk/javascript/pull/9207
Deployedhttps://swingset-qwojw3fju.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-qwojw3fju.clerkstage.dev
Deployedhttps://clerk-js-sandbox-453ni65nk.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-453ni65nk.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%2F9199
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9199/files/f62bc9223cf1e0ff57f59747121398fe9e83e2ea
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
https://github.com/clerk/javascript/pull/9199/files/0c37a56f4759d4129f9a50c2d72fcc4ca5a7d753
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/9199
https://github.com/mwickett
https://github.com/wobsoriano
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.