René's URL Explorer Experiment


Title: fix(clerk-js): Check active session ID before setting cookie by brkalow · Pull Request #5989 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-js): Check active session ID before setting cookie by brkalow · Pull Request #5989 · clerk/javascript

X Title: fix(clerk-js): Check active session ID before setting cookie by brkalow · Pull Request #5989 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-js): Check active session ID before setting cookie by brkalow · Pull Request #5989 · clerk/javascript

Open Graph Description: Description Updates our session cookie setting logic to only set the session cookie if the current Clerk instance's session and org ID match the latest known active IDs. This fixes an edge cas...

X Description: Description Updates our session cookie setting logic to only set the session cookie if the current Clerk instance's session and org ID match the latest known active IDs. This fixes an edge...

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

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:17b2097c-147e-156d-7c29-63b9fdac6ac2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83B6:36012D:11913F5:187D0A9:6AFAD68B
html-safe-noncebb198cb4d21e8f9a30e52b92089bdb48937011be6f8f5e47b9eeb8cddfa5fcd6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0I2OjM2MDEyRDoxMTkxM0Y1OjE4N0QwQTk6NkFGQUQ2OEIiLCJ2aXNpdG9yX2lkIjoiMjM2MTQyNzIzMjIxMjgzMzkzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca775c287b8e322f2b6bfdad7ef104c2d115b535a60bff3ca319a64f3e0dc110c
hovercard-subject-tagpull_request:2538638122
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/5989/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ae9f30a7bc93c3a43a892e58558889b6b970a57c3458583d6ef4eafeef030ae5/clerk/javascript/pull/5989
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae9f30a7bc93c3a43a892e58558889b6b970a57c3458583d6ef4eafeef030ae5/clerk/javascript/pull/5989
og:image:altDescription Updates our session cookie setting logic to only set the session cookie if the current Clerk instance's session and org ID match the latest known active IDs. This fixes an edge cas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrkalow
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/5989#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F5989
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%2F5989
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/5989
Reloadhttps://github.com/clerk/javascript/pull/5989
Reloadhttps://github.com/clerk/javascript/pull/5989
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests113 (113)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
brkalowhttps://github.com/brkalow
mainhttps://github.com/clerk/javascript/tree/main
brk.fix/session-token-active-sessionhttps://github.com/clerk/javascript/tree/brk.fix/session-token-active-session
Conversationhttps://github.com/clerk/javascript/pull/5989
Commits8 (8)https://github.com/clerk/javascript/pull/5989/commits
Checkshttps://github.com/clerk/javascript/pull/5989/checks
Files changedhttps://github.com/clerk/javascript/pull/5989/files
fix(clerk-js): Check active session ID before setting cookiehttps://github.com/clerk/javascript/pull/5989#top
brkalowhttps://github.com/brkalow
mainhttps://github.com/clerk/javascript/tree/main
brk.fix/session-token-active-sessionhttps://github.com/clerk/javascript/tree/brk.fix/session-token-active-session
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 23, 2025https://github.com/clerk/javascript/pull/5989#issue-3084989695
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
brkalowhttps://github.com/brkalow
May 22, 2025 13:14https://github.com/clerk/javascript/pull/5989#commits-pushed-54246ed
https://github.com/brkalow
ensure setActive emits the previous token before onBeforeSetActive() …https://github.com/clerk/javascript/pull/5989/commits/54246ed94c670f30165cdb933ab6cdc7df7fa3f0
54246edhttps://github.com/clerk/javascript/pull/5989/commits/54246ed94c670f30165cdb933ab6cdc7df7fa3f0
https://github.com/brkalow
adds changesethttps://github.com/clerk/javascript/pull/5989/commits/d9831b08acfe0f5d6983bc61dabf87e91b35da6a
d9831b0https://github.com/clerk/javascript/pull/5989/commits/d9831b08acfe0f5d6983bc61dabf87e91b35da6a
https://github.com/brkalow
consider active session when determining if it's safe to set session …https://github.com/clerk/javascript/pull/5989/commits/11a9f053a041de9298bdd309285c6cd3ca72cfe7
11a9f05https://github.com/clerk/javascript/pull/5989/commits/11a9f053a041de9298bdd309285c6cd3ca72cfe7
https://github.com/brkalow
Adds changesethttps://github.com/clerk/javascript/pull/5989/commits/2b8e0784e36ed5b1b19845ecc96af3ef3971cc9b
2b8e078https://github.com/clerk/javascript/pull/5989/commits/2b8e0784e36ed5b1b19845ecc96af3ef3971cc9b
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
May 23, 2025https://github.com/clerk/javascript/pull/5989#issuecomment-2903101573
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
4e38ffbhttps://github.com/clerk/javascript/commit/4e38ffb57851409576e92844386c56f997c1ff5e
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/brk.fix/session-token-active-session?filename=.changeset/long-tables-look.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0Afix(clerk-js)%3A%20Check%20active%20session%20ID%20before%20setting%20cookie%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
May 23, 2025https://github.com/clerk/javascript/pull/5989#issuecomment-2903101590
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/48GQRVc7ZFeqm1HpCxQkbMPz79dz
Visit Previewhttps://clerk-js-sandbox-git-brkfix-session-token-active-session.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-brkfix-session-token-active-session.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
May 23, 2025https://github.com/clerk/javascript/pull/5989#event-17782312758
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 23, 2025 02:51https://github.com/clerk/javascript/pull/5989#event-17782313477
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 23, 2025https://github.com/clerk/javascript/pull/5989#issuecomment-2903102330
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
May 23, 2025https://github.com/clerk/javascript/pull/5989#issuecomment-2903104552
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
Open in StackBlitzhttps://pkg.pr.new/template/0f463300-2a01-40d5-b9dd-80875238facf
cdd5464https://github.com/clerk/javascript/runs/43038024227
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
May 23, 2025https://github.com/clerk/javascript/pull/5989#issuecomment-2903104913
@brkalowhttps://github.com/brkalow
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
brkalowhttps://github.com/brkalow
May 23, 2025 14:03https://github.com/clerk/javascript/pull/5989#commits-pushed-3f2af89
https://github.com/brkalow
Remove token update altogetherhttps://github.com/clerk/javascript/pull/5989/commits/3f2af89658ec947e423ffe4f60cb26400bbed654
3f2af89https://github.com/clerk/javascript/pull/5989/commits/3f2af89658ec947e423ffe4f60cb26400bbed654
https://github.com/brkalow
Merge branch 'main' into brk.fix/set-active-emit-previous-tokenhttps://github.com/clerk/javascript/pull/5989/commits/8f3db30cbe540b654c2b9a34222a94dcaffc3c77
8f3db30https://github.com/clerk/javascript/pull/5989/commits/8f3db30cbe540b654c2b9a34222a94dcaffc3c77
https://github.com/brkalow
Merge branch 'brk.fix/set-active-emit-previous-token' into brk.fix/se…https://github.com/clerk/javascript/pull/5989/commits/4e38ffb57851409576e92844386c56f997c1ff5e
4e38ffbhttps://github.com/clerk/javascript/pull/5989/commits/4e38ffb57851409576e92844386c56f997c1ff5e
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-opq6finck.clerkstage.dev
Previewhttps://clerk-js-sandbox-opq6finck.clerkstage.dev
May 23, 2025 19:08https://github.com/clerk/javascript/pull/5989#event-17795122186
View deploymenthttps://clerk-js-sandbox-opq6finck.clerkstage.dev
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 27, 2025 14:53https://github.com/clerk/javascript/pull/5989#event-17832481784
https://github.com/alexcarpenter
alexcarpenterhttps://github.com/alexcarpenter
May 27, 2025 https://github.com/clerk/javascript/pull/5989#pullrequestreview-2871836683
View reviewed changes https://github.com/clerk/javascript/pull/5989/files/4e38ffb57851409576e92844386c56f997c1ff5e
May 28, 2025 12:12https://github.com/clerk/javascript/pull/5989#event-17849594439
https://github.com/brkalow
Merge branch 'main' into brk.fix/session-token-active-sessionhttps://github.com/clerk/javascript/pull/5989/commits/cdd54643c0b62259cdcc8f1e30e28c43d3394715
cdd5464https://github.com/clerk/javascript/pull/5989/commits/cdd54643c0b62259cdcc8f1e30e28c43d3394715
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-44n0pb81n.clerkstage.dev
Previewhttps://clerk-js-sandbox-44n0pb81n.clerkstage.dev
May 28, 2025 12:20https://github.com/clerk/javascript/pull/5989#event-17849725920
View deploymenthttps://clerk-js-sandbox-44n0pb81n.clerkstage.dev
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
May 28, 2025 https://github.com/clerk/javascript/pull/5989#pullrequestreview-2874916533
View reviewed changes https://github.com/clerk/javascript/pull/5989/files/cdd54643c0b62259cdcc8f1e30e28c43d3394715
https://github.com/brkalow
brkalowhttps://github.com/brkalow
694ff23https://github.com/clerk/javascript/commit/694ff2335c9d2d6e80247747c29f0f1293dddea9
May 28, 2025https://github.com/clerk/javascript/pull/5989#event-17851817686
https://github.com/brkalow
brkalowhttps://github.com/brkalow
May 28, 2025 14:03https://github.com/clerk/javascript/pull/5989#event-17851818212
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
May 28, 2025 https://github.com/clerk/javascript/pull/5989#ref-pullrequest-3094560359
ci(repo): Version packages #6015 https://github.com/clerk/javascript/pull/6015
Deployedhttps://clerk-js-sandbox-44n0pb81n.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-44n0pb81n.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%2F5989
https://github.com/alexcarpenter
alexcarpenter https://github.com/alexcarpenter
https://github.com/clerk/javascript/pull/5989/files/4e38ffb57851409576e92844386c56f997c1ff5e
https://github.com/nikosdouvlis
nikosdouvlis https://github.com/nikosdouvlis
https://github.com/clerk/javascript/pull/5989/files/cdd54643c0b62259cdcc8f1e30e28c43d3394715
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Please reload this pagehttps://github.com/clerk/javascript/pull/5989
https://github.com/brkalow
https://github.com/clerk-cookie
https://github.com/alexcarpenter
https://github.com/nikosdouvlis
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.