René's URL Explorer Experiment


Title: feat(nextjs): Handle URL <> Session Org Mismatch in Middleware by izaaklauer · Pull Request #3977 · clerk/javascript · GitHub

Open Graph Title: feat(nextjs): Handle URL <> Session Org Mismatch in Middleware by izaaklauer · Pull Request #3977 · clerk/javascript

X Title: feat(nextjs): Handle URL <> Session Org Mismatch in Middleware by izaaklauer · Pull Request #3977 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - feat(nextjs): Handle URL <> Session Org Mismatch in Middleware by izaaklauer · Pull Request #3977 · clerk/javascript

Open Graph Description: What problem is this solving? Today, when developers use organization slugs in URLs, they need to go through contortions to be able to depend on the organization data in the clerk session, especial...

X Description: What problem is this solving? Today, when developers use organization slugs in URLs, they need to go through contortions to be able to depend on the organization data in the clerk session, especial...

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

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:3de50a5d-ead1-c587-0331-e5cf4949f873
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D2E:87884:24A2DB:345B42:6AFB2E13
html-safe-nonceec5d8eca76f499dc782dd623250f4e8af011ddea66150c10f919b3a7a655baa4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDJFOjg3ODg0OjI0QTJEQjozNDVCNDI6NkFGQjJFMTMiLCJ2aXNpdG9yX2lkIjoiMzUwNTE5NzYxNzUwNTg0MDY1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac548c3ffa5d6f08a84d6ab4f8ee17edda6cece187d4fc1f526e2ff8565bc6ba67
hovercard-subject-tagpull_request:2023696475
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/3977/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b2426f55366a52306eb8978f2abb00173146ad12c3fb86a28bf918b7ccbc7d56/clerk/javascript/pull/3977
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2426f55366a52306eb8978f2abb00173146ad12c3fb86a28bf918b7ccbc7d56/clerk/javascript/pull/3977
og:image:altWhat problem is this solving? Today, when developers use organization slugs in URLs, they need to go through contortions to be able to depend on the organization data in the clerk session, especial...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameizaaklauer
hostnamegithub.com
expected-hostnamegithub.com
None40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4
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
releasef494d77c37809e03e18d49c6e9945c57e0b64070
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/3977#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F3977
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%2F3977
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/3977
Reloadhttps://github.com/clerk/javascript/pull/3977
Reloadhttps://github.com/clerk/javascript/pull/3977
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests116 (116)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
izaaklauerhttps://github.com/izaaklauer
mainhttps://github.com/clerk/javascript/tree/main
izaak/ORGS-132-middleware-orgsynchttps://github.com/clerk/javascript/tree/izaak/ORGS-132-middleware-orgsync
Conversationhttps://github.com/clerk/javascript/pull/3977
Commits56 (56)https://github.com/clerk/javascript/pull/3977/commits
Checkshttps://github.com/clerk/javascript/pull/3977/checks
Files changedhttps://github.com/clerk/javascript/pull/3977/files
feat(nextjs): Handle URL <> Session Org Mismatch in Middlewarehttps://github.com/clerk/javascript/pull/3977#top
izaaklauerhttps://github.com/izaaklauer
mainhttps://github.com/clerk/javascript/tree/main
izaak/ORGS-132-middleware-orgsynchttps://github.com/clerk/javascript/tree/izaak/ORGS-132-middleware-orgsync
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
Aug 16, 2024https://github.com/clerk/javascript/pull/3977#issue-2471136165
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://clerk.com/docs/guides/force-organizations#set-an-active-organization-based-on-the-urlhttps://clerk.com/docs/guides/force-organizations#set-an-active-organization-based-on-the-url
https://www.notion.so/clerkdev/Sync-Org-from-URL-to-Session-via-Middleware-f41f00865390480ab2279391c5625b27?pvs=4https://www.notion.so/clerkdev/Sync-Org-from-URL-to-Session-via-Middleware-f41f00865390480ab2279391c5625b27?pvs=4
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/izaaklauer
WIP - first rough pass at args-based approachhttps://github.com/clerk/javascript/pull/3977/commits/37f04786929be6d30cd212e6e48bd3a38b69376e
37f0478https://github.com/clerk/javascript/pull/3977/commits/37f04786929be6d30cd212e6e48bd3a38b69376e
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Aug 16, 2024https://github.com/clerk/javascript/pull/3977#issuecomment-2294407669
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
bc89068https://github.com/clerk/javascript/commit/bc890685f8d12c253930639ea5805f28ae21a114
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/izaak/ORGS-132-middleware-orgsync?filename=.changeset/gentle-flies-deny.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afeat(nextjs)%3A%20Handle%20URL%20%3C%3E%20Session%20Org%20Mismatch%20in%20Middleware%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Aug 16, 2024https://github.com/clerk/javascript/pull/3977#event-13917102066
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
Aug 16, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2243660594
View reviewed changes https://github.com/clerk/javascript/pull/3977/files/37f04786929be6d30cd212e6e48bd3a38b69376e
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/files/37f04786929be6d30cd212e6e48bd3a38b69376e#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
integration https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration
Sep 6, 2024https://github.com/clerk/javascript/pull/3977#event-14167526669
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/28ece3216e2967da8985a1af462e80bde3232258..8dc238f7c4c76342a4b4325ae8414ba980be9b11
28ece32https://github.com/clerk/javascript/commit/28ece3216e2967da8985a1af462e80bde3232258
8dc238fhttps://github.com/clerk/javascript/commit/8dc238f7c4c76342a4b4325ae8414ba980be9b11
Compare https://github.com/clerk/javascript/compare/28ece3216e2967da8985a1af462e80bde3232258..8dc238f7c4c76342a4b4325ae8414ba980be9b11
September 6, 2024 22:28https://github.com/clerk/javascript/pull/3977#event-14167540584
https://github.com/izaaklauer
Tested end-to-end with corresponding fapi changes locallyhttps://github.com/clerk/javascript/pull/3977/commits/7c3f936035f43c3bc148424787fbe9e37cbecbd7
7c3f936https://github.com/clerk/javascript/pull/3977/commits/7c3f936035f43c3bc148424787fbe9e37cbecbd7
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/cf8ad6cadf84b2d5db6aff1ba5070793624aa9fb..509ada162b16af28997a8010d86528a9079fdd63
cf8ad6chttps://github.com/clerk/javascript/commit/cf8ad6cadf84b2d5db6aff1ba5070793624aa9fb
509ada1https://github.com/clerk/javascript/commit/509ada162b16af28997a8010d86528a9079fdd63
Compare https://github.com/clerk/javascript/compare/cf8ad6cadf84b2d5db6aff1ba5070793624aa9fb..509ada162b16af28997a8010d86528a9079fdd63
September 6, 2024 22:33https://github.com/clerk/javascript/pull/3977#event-14167563164
https://github.com/izaaklauer
Starting on integration testshttps://github.com/clerk/javascript/pull/3977/commits/54e67521f4cdabc75b6d8607b6be87e3fd98e967
54e6752https://github.com/clerk/javascript/pull/3977/commits/54e67521f4cdabc75b6d8607b6be87e3fd98e967
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/509ada162b16af28997a8010d86528a9079fdd63..54e67521f4cdabc75b6d8607b6be87e3fd98e967
509ada1https://github.com/clerk/javascript/commit/509ada162b16af28997a8010d86528a9079fdd63
54e6752https://github.com/clerk/javascript/commit/54e67521f4cdabc75b6d8607b6be87e3fd98e967
Compare https://github.com/clerk/javascript/compare/509ada162b16af28997a8010d86528a9079fdd63..54e67521f4cdabc75b6d8607b6be87e3fd98e967
September 6, 2024 22:47https://github.com/clerk/javascript/pull/3977#event-14167624641
https://github.com/izaaklauer
Two more testshttps://github.com/clerk/javascript/pull/3977/commits/d7246956c9bcc50c4f30cb0bb330b5f61a39f8ba
d724695https://github.com/clerk/javascript/pull/3977/commits/d7246956c9bcc50c4f30cb0bb330b5f61a39f8ba
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/cff9d486373eb3f2c0c2f26d09174a146fbcc9b4..d7246956c9bcc50c4f30cb0bb330b5f61a39f8ba
cff9d48https://github.com/clerk/javascript/commit/cff9d486373eb3f2c0c2f26d09174a146fbcc9b4
d724695https://github.com/clerk/javascript/commit/d7246956c9bcc50c4f30cb0bb330b5f61a39f8ba
Compare https://github.com/clerk/javascript/compare/cff9d486373eb3f2c0c2f26d09174a146fbcc9b4..d7246956c9bcc50c4f30cb0bb330b5f61a39f8ba
September 6, 2024 23:12https://github.com/clerk/javascript/pull/3977#event-14167725710
izaaklauerhttps://github.com/izaaklauer
September 9, 2024 09:47https://github.com/clerk/javascript/pull/3977#commits-pushed-925be56
https://github.com/izaaklauer
First pass at table-driven testshttps://github.com/clerk/javascript/pull/3977/commits/925be56c3f00b6a56b3de46505520dbbc45d648a
925be56https://github.com/clerk/javascript/pull/3977/commits/925be56c3f00b6a56b3de46505520dbbc45d648a
https://github.com/izaaklauer
Trying out server-per-testhttps://github.com/clerk/javascript/pull/3977/commits/fee771a978953d6ba0fa65caceab6b10cc60cda8
fee771ahttps://github.com/clerk/javascript/pull/3977/commits/fee771a978953d6ba0fa65caceab6b10cc60cda8
https://github.com/izaaklauer
Now in parallel!https://github.com/clerk/javascript/pull/3977/commits/5c575eefd3c82ec650cfb619d5c14a7650789ba5
5c575eehttps://github.com/clerk/javascript/pull/3977/commits/5c575eefd3c82ec650cfb619d5c14a7650789ba5
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/d6b3f6b62f14295a0139826566ca06fa196e20b1..5c575eefd3c82ec650cfb619d5c14a7650789ba5
d6b3f6bhttps://github.com/clerk/javascript/commit/d6b3f6b62f14295a0139826566ca06fa196e20b1
5c575eehttps://github.com/clerk/javascript/commit/5c575eefd3c82ec650cfb619d5c14a7650789ba5
Compare https://github.com/clerk/javascript/compare/d6b3f6b62f14295a0139826566ca06fa196e20b1..5c575eefd3c82ec650cfb619d5c14a7650789ba5
September 9, 2024 15:32https://github.com/clerk/javascript/pull/3977#event-14185460954
https://github.com/izaaklauer
The table-driven tests are now looking quite nice!https://github.com/clerk/javascript/pull/3977/commits/aa84f66ac6dcbc54ef7d12aa63afca038844c2a2
aa84f66https://github.com/clerk/javascript/pull/3977/commits/aa84f66ac6dcbc54ef7d12aa63afca038844c2a2
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/42612d230a44eff0717edb8a3b8792f614d4e800..aa84f66ac6dcbc54ef7d12aa63afca038844c2a2
42612d2https://github.com/clerk/javascript/commit/42612d230a44eff0717edb8a3b8792f614d4e800
aa84f66https://github.com/clerk/javascript/commit/aa84f66ac6dcbc54ef7d12aa63afca038844c2a2
Compare https://github.com/clerk/javascript/compare/42612d230a44eff0717edb8a3b8792f614d4e800..aa84f66ac6dcbc54ef7d12aa63afca038844c2a2
September 9, 2024 15:55https://github.com/clerk/javascript/pull/3977#event-14185776476
izaaklauerhttps://github.com/izaaklauer
September 9, 2024 15:16https://github.com/clerk/javascript/pull/3977#commits-pushed-45a982b
https://github.com/izaaklauer
Doc commentshttps://github.com/clerk/javascript/pull/3977/commits/45a982be339fed27042abc0c50656db298245639
45a982bhttps://github.com/clerk/javascript/pull/3977/commits/45a982be339fed27042abc0c50656db298245639
https://github.com/izaaklauer
Detecting and handling handshake org sync loopshttps://github.com/clerk/javascript/pull/3977/commits/edffbe0ae09808f997ce0448e4befcb52478cb89
edffbe0https://github.com/clerk/javascript/pull/3977/commits/edffbe0ae09808f997ce0448e4befcb52478cb89
https://clerkinc.slack.com/archives/C078JFZLLQ3/p1725908922766149https://clerkinc.slack.com/archives/C078JFZLLQ3/p1725908922766149
https://github.com/izaaklauer
A handful more testshttps://github.com/clerk/javascript/pull/3977/commits/256bef601ef52b3a7e66953f0ed3060329887ceb
256bef6https://github.com/clerk/javascript/pull/3977/commits/256bef601ef52b3a7e66953f0ed3060329887ceb
https://github.com/izaaklauer
Handling multiple path patterns, better test structurehttps://github.com/clerk/javascript/pull/3977/commits/830dfeaa4009c9e39121265f0b8103f8b2d037eb
830dfeahttps://github.com/clerk/javascript/pull/3977/commits/830dfeaa4009c9e39121265f0b8103f8b2d037eb
https://github.com/izaaklauer
testing paths with sub-resourceshttps://github.com/clerk/javascript/pull/3977/commits/63519d96da9988110be161974b23ae024d9fb9a9
63519d9https://github.com/clerk/javascript/pull/3977/commits/63519d96da9988110be161974b23ae024d9fb9a9
https://github.com/izaaklauer
Merge branch 'main' into izaak/ORGS-132-middleware-orgsynchttps://github.com/clerk/javascript/pull/3977/commits/d77382d6b76b657d9cfe40ca0f89f8739df68f68
d77382dhttps://github.com/clerk/javascript/pull/3977/commits/d77382d6b76b657d9cfe40ca0f89f8739df68f68
https://github.com/izaaklauer
Upgrading path-to-regexphttps://github.com/clerk/javascript/pull/3977/commits/02823ef8bda4fc8a1dce432a20ce60c35de0e35f
02823efhttps://github.com/clerk/javascript/pull/3977/commits/02823ef8bda4fc8a1dce432a20ce60c35de0e35f
https://github.com/izaaklauer
Test case with erroneous trailing slash now passinghttps://github.com/clerk/javascript/pull/3977/commits/a6d413633cc521d7ca8225f44cf65f9308b7a748
a6d4136https://github.com/clerk/javascript/pull/3977/commits/a6d413633cc521d7ca8225f44cf65f9308b7a748
https://github.com/izaaklauer
Handling header auth in addition to cookie authhttps://github.com/clerk/javascript/pull/3977/commits/3a8f583543575b1fd4c38dbf439e83d4ab0281b5
3a8f583https://github.com/clerk/javascript/pull/3977/commits/3a8f583543575b1fd4c38dbf439e83d4ab0281b5
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
Sep 13, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2304233270
View reviewed changes https://github.com/clerk/javascript/pull/3977/files
integration/tests/handshake.test.tshttps://github.com/clerk/javascript/pull/3977/files#diff-6294b7180ce13af72d3374341af23f2a5cb5a07fcb80cbc5171c408653a19351
izaaklauerhttps://github.com/izaaklauer
Sep 13, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1759567687
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
izaaklauerhttps://github.com/izaaklauer
September 27, 2024 11:52https://github.com/clerk/javascript/pull/3977#commits-pushed-efc5599
https://github.com/izaaklauer
Small refactor to remove redundancyhttps://github.com/clerk/javascript/pull/3977/commits/efc55995e3688d40f7905500d5458a156f610914
efc5599https://github.com/clerk/javascript/pull/3977/commits/efc55995e3688d40f7905500d5458a156f610914
https://github.com/izaaklauer
ran npm ihttps://github.com/clerk/javascript/pull/3977/commits/f55a074d9c27aea2b2da7ff90d406a8c55250cec
f55a074https://github.com/clerk/javascript/pull/3977/commits/f55a074d9c27aea2b2da7ff90d406a8c55250cec
https://github.com/izaaklauer
Running npm run formathttps://github.com/clerk/javascript/pull/3977/commits/f7bec4f34d6dca89aa870884f038062232b4af90
f7bec4fhttps://github.com/clerk/javascript/pull/3977/commits/f7bec4f34d6dca89aa870884f038062232b4af90
https://github.com/izaaklauer
Quieting typescript's objectionshttps://github.com/clerk/javascript/pull/3977/commits/4bce2cecec95ddf8eedb32283253faf2b7dfba1b
4bce2cehttps://github.com/clerk/javascript/pull/3977/commits/4bce2cecec95ddf8eedb32283253faf2b7dfba1b
https://github.com/izaaklauer
https://github.com/LauraBeatris
Update packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/commits/b7e8ac1780bc65235d4582ac6a44a5c0e40fa583
b7e8ac1https://github.com/clerk/javascript/pull/3977/commits/b7e8ac1780bc65235d4582ac6a44a5c0e40fa583
https://github.com/izaaklauer
https://github.com/LauraBeatris
Update packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/commits/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
5ce428dhttps://github.com/clerk/javascript/pull/3977/commits/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
force-pushedhttps://github.com/clerk/javascript/compare/9738a970663756ab2b5c7168661cb24b61723e30..5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
9738a97https://github.com/clerk/javascript/commit/9738a970663756ab2b5c7168661cb24b61723e30
5ce428dhttps://github.com/clerk/javascript/commit/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
Compare https://github.com/clerk/javascript/compare/9738a970663756ab2b5c7168661cb24b61723e30..5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
September 27, 2024 18:57https://github.com/clerk/javascript/pull/3977#event-14435123160
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Sep 30, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2336646258
View reviewed changes https://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Sep 30, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2336652864
View reviewed changes https://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
packages/backend/src/tokens/types.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-64e006762089509c48eb751fd14dfaae98bbdcb5a00a40b82ee0760b06f47bdd
panteliselefhttps://github.com/panteliselef
Sep 30, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1780594244
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
packages/backend/src/tokens/types.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-64e006762089509c48eb751fd14dfaae98bbdcb5a00a40b82ee0760b06f47bdd
panteliselefhttps://github.com/panteliselef
Sep 30, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1780603395
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
RouteMatcherWithNextTypedRouteshttps://github.com/clerk/javascript/blob/7f873916ed95ed852acfc82680fe71fbc79ec662/packages/nextjs/src/server/routeMatcher.ts#L9
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
panteliselefhttps://github.com/panteliselef
Sep 30, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1780607342
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@nikosdouvlishttps://github.com/nikosdouvlis
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
izaaklauerhttps://github.com/izaaklauer
Oct 3, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1786369953
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
RouteMatcherParamshttps://github.com/search?q=repo%3Aclerk%2Fjavascript+%22export+type+RouteMatcherParam%22&type=code
https://www.notion.so/Sync-Org-from-URL-to-Session-via-Middleware-f41f00865390480ab2279391c5625b27?d=f3738cb7f62c48bb90f8924c653a83a9&pvs=4#c0b57bf937694dd6bf510aeb4dde12afhttps://www.notion.so/Sync-Org-from-URL-to-Session-via-Middleware-f41f00865390480ab2279391c5625b27?d=f3738cb7f62c48bb90f8924c653a83a9&pvs=4#c0b57bf937694dd6bf510aeb4dde12af
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
izaaklauerhttps://github.com/izaaklauer
Oct 3, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1786416457
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Sep 30, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2337802248
View reviewed changes https://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
integration/tests/handshake.test.tshttps://github.com/clerk/javascript/pull/3977/files/cd8ba021c92cec1b2578d3c12a03dda69be9feaf#diff-6294b7180ce13af72d3374341af23f2a5cb5a07fcb80cbc5171c408653a19351
brkalowhttps://github.com/brkalow
Sep 30, 2024https://github.com/clerk/javascript/pull/3977#discussion_r1781351448
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
integration/tests/handshake.test.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-6294b7180ce13af72d3374341af23f2a5cb5a07fcb80cbc5171c408653a19351
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
packages/backend/src/tokens/types.tshttps://github.com/clerk/javascript/pull/3977/files/5ce428d090ba16bbb4d61a14bf550cfd3eb220c7#diff-64e006762089509c48eb751fd14dfaae98bbdcb5a00a40b82ee0760b06f47bdd
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
izaaklauerhttps://github.com/izaaklauer
October 1, 2024 17:57https://github.com/clerk/javascript/pull/3977#commits-pushed-5858a24
https://github.com/izaaklauer
Renaming "personal wockrkspace" to "personal account"https://github.com/clerk/javascript/pull/3977/commits/5858a24cb1215314f3adf73bac1f8e397d1aeefc
5858a24https://github.com/clerk/javascript/pull/3977/commits/5858a24cb1215314f3adf73bac1f8e397d1aeefc
@panteliselefhttps://github.com/panteliselef
#3977 (comment)https://github.com/clerk/javascript/pull/3977#discussion_r1780590048
https://github.com/izaaklauer
avoiding spinning up a separate sample app per test casehttps://github.com/clerk/javascript/pull/3977/commits/3551d2f331c1620a6c2994fc93b52753a2a10c28
3551d2fhttps://github.com/clerk/javascript/pull/3977/commits/3551d2f331c1620a6c2994fc93b52753a2a10c28
https://github.com/izaaklauer
Only computing matchers once for efficency.https://github.com/clerk/javascript/pull/3977/commits/9f36a37c0fdfc1103a709e6fed88de29ec695cc4
9f36a37https://github.com/clerk/javascript/pull/3977/commits/9f36a37c0fdfc1103a709e6fed88de29ec695cc4
#3977 (comment)https://github.com/clerk/javascript/pull/3977#discussion_r1781281505
@brkalowhttps://github.com/brkalow
https://github.com/izaaklauer
Making types PascelCasehttps://github.com/clerk/javascript/pull/3977/commits/5780554d1fe66ee8c0d0238e0c7f6e8edd307b17
5780554https://github.com/clerk/javascript/pull/3977/commits/5780554d1fe66ee8c0d0238e0c7f6e8edd307b17
@brkalowhttps://github.com/brkalow
#3977 (comment)https://github.com/clerk/javascript/pull/3977#discussion_r1781361543
https://github.com/izaaklauer
Using more concise array type declarationhttps://github.com/clerk/javascript/pull/3977/commits/4076c031d66ac56955f56e8b44dff0db2d7af6b9
4076c03https://github.com/clerk/javascript/pull/3977/commits/4076c031d66ac56955f56e8b44dff0db2d7af6b9
@brkalowhttps://github.com/brkalow
#3977 (comment)https://github.com/clerk/javascript/pull/3977#discussion_r1781475997
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
brkalowhttps://github.com/brkalow
panteliselefhttps://github.com/panteliselef
October 3, 2024 16:09https://github.com/clerk/javascript/pull/3977#event-14506953262
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Oct 4, 2024 https://github.com/clerk/javascript/pull/3977#pullrequestreview-2348399518
View reviewed changes https://github.com/clerk/javascript/pull/3977/files/4076c031d66ac56955f56e8b44dff0db2d7af6b9
brkalowhttps://github.com/brkalow
https://github.com/clerk/javascript/pull/3977#pullrequestreview-2348399518
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/tmilewski
tmilewskihttps://github.com/tmilewski
izaaklauerhttps://github.com/izaaklauer
Oct 4, 2024https://github.com/clerk/javascript/pull/3977#event-14523447146
izaaklauerhttps://github.com/izaaklauer
October 7, 2024 11:43https://github.com/clerk/javascript/pull/3977#commits-pushed-3aa3f67
https://github.com/izaaklauer
Reverting an incidental upgrate to path-to-regexphttps://github.com/clerk/javascript/pull/3977/commits/3aa3f676e2394689e34137bc4310de13a8fc65a1
3aa3f67https://github.com/clerk/javascript/pull/3977/commits/3aa3f676e2394689e34137bc4310de13a8fc65a1
https://github.com/izaaklauer
Merge branch 'main' into izaak/ORGS-132-middleware-orgsynchttps://github.com/clerk/javascript/pull/3977/commits/bc890685f8d12c253930639ea5805f28ae21a114
bc89068https://github.com/clerk/javascript/pull/3977/commits/bc890685f8d12c253930639ea5805f28ae21a114
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
2ea1a60https://github.com/clerk/javascript/commit/2ea1a6097238a8a3a8d535c5c9dd4b573f38d83e
Oct 8, 2024https://github.com/clerk/javascript/pull/3977#event-14557044827
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
October 8, 2024 13:35https://github.com/clerk/javascript/pull/3977#event-14557045366
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Oct 9, 2024 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-2575932075
ci(repo): Version packages #4307 https://github.com/clerk/javascript/pull/4307
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
Oct 17, 2024 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-2595654808
Add organizationSyncOptions prop to clerkMiddleware() options clerk/clerk-docs#1634 https://github.com/clerk/clerk-docs/pull/1634
https://github.com/izaaklauer
izaaklauerhttps://github.com/izaaklauer
Oct 28, 2024 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-2619450863
DX Guide: Using Organization Slugs in URLs clerk/clerk-docs#1664 https://github.com/clerk/clerk-docs/pull/1664
wobsorianohttps://github.com/wobsoriano
Feb 8, 2025 https://github.com/clerk/javascript/pull/3977#ref-commit-d159185
https://github.com/izaaklauer
https://github.com/LauraBeatris
https://github.com/wobsoriano
feat(nextjs): Handle URL <> Session Org Mismatch in Middleware (https://github.com/clerk/javascript/commit/d1591855e0564deded249068129ba2fdc4d363bb
#3977https://github.com/clerk/javascript/pull/3977
)https://github.com/clerk/javascript/commit/d1591855e0564deded249068129ba2fdc4d363bb
d159185https://github.com/clerk/javascript/commit/d1591855e0564deded249068129ba2fdc4d363bb
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 10, 2026 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-4415457541
implement auth naoya5/ghost-ai#2 https://github.com/naoya5/ghost-ai/pull/2
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 2, 2026 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-4798275702
Apprise/feature/17/frontend foundation CharlieAtki/AppriseEmergentAI#10 https://github.com/CharlieAtki/AppriseEmergentAI/pull/10
https://github.com/Rohan170603
Rohan170603https://github.com/Rohan170603
Aug 20, 2026 https://github.com/clerk/javascript/pull/3977#ref-pullrequest-5206808896
docs(express): add platform limitation warning for organizationSyncOptions clerk/clerk-docs#3530 https://github.com/clerk/clerk-docs/pull/3530
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%2F3977
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/3977/files/4076c031d66ac56955f56e8b44dff0db2d7af6b9
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
https://github.com/colinclerk
colinclerk https://github.com/colinclerk
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
https://github.com/LauraBeatris
LauraBeatris https://github.com/LauraBeatris
https://github.com/clerk/javascript/pull/3977/files/e62e239a5b93966d0055300618805431ee6dc34e
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/izaaklauer
izaaklauer https://github.com/izaaklauer
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
integration https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aintegration
Please reload this pagehttps://github.com/clerk/javascript/pull/3977
https://github.com/izaaklauer
https://github.com/brkalow
https://github.com/panteliselef
https://github.com/LauraBeatris
https://github.com/colinclerk
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.