René's URL Explorer Experiment


Title: fix(clerk-js): Ensure cookies get unset on sign out by brkalow · Pull Request #6368 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-js): Ensure cookies get unset on sign out by brkalow · Pull Request #6368 · clerk/javascript

X Title: fix(clerk-js): Ensure cookies get unset on sign out by brkalow · Pull Request #6368 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-js): Ensure cookies get unset on sign out by brkalow · Pull Request #6368 · clerk/javascript

Open Graph Description: Description In some cases where we weren't using default cookie attributes, our .remove() helper was not working as expected. This refactors our cookie handlers to use the same attributes for...

X Description: Description In some cases where we weren't using default cookie attributes, our .remove() helper was not working as expected. This refactors our cookie handlers to use the same attributes...

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

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:ba4142f9-5e33-7028-5409-f0a609dd6c42
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE588:3FDCC4:E0E353:1369436:6AFAC3D6
html-safe-noncea96322589f5c04f8e0df99f7b798b0c971debc36429046f18cbc16bdd5f4955d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTg4OjNGRENDNDpFMEUzNTM6MTM2OTQzNjo2QUZBQzNENiIsInZpc2l0b3JfaWQiOiIxODg4NjYxMjYyNjExMTcwMjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdb91684699e7c85920ab5e125becaac7105d84284249a0ae81f427a5e9a85937
hovercard-subject-tagpull_request:2682674053
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/6368/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2667a2f57939fe3343229e33b77ad802f89a76c44f8ae4b837e3fe17b2cdaa77/clerk/javascript/pull/6368
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2667a2f57939fe3343229e33b77ad802f89a76c44f8ae4b837e3fe17b2cdaa77/clerk/javascript/pull/6368
og:image:altDescription In some cases where we weren't using default cookie attributes, our .remove() helper was not working as expected. This refactors our cookie handlers to use the same attributes for...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrkalow
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/6368#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F6368
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%2F6368
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/6368
Reloadhttps://github.com/clerk/javascript/pull/6368
Reloadhttps://github.com/clerk/javascript/pull/6368
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
brkalowhttps://github.com/brkalow
mainhttps://github.com/clerk/javascript/tree/main
brk.fix/unset-cookies-on-sign-outhttps://github.com/clerk/javascript/tree/brk.fix/unset-cookies-on-sign-out
Conversationhttps://github.com/clerk/javascript/pull/6368
Commits6 (6)https://github.com/clerk/javascript/pull/6368/commits
Checkshttps://github.com/clerk/javascript/pull/6368/checks
Files changedhttps://github.com/clerk/javascript/pull/6368/files
fix(clerk-js): Ensure cookies get unset on sign outhttps://github.com/clerk/javascript/pull/6368#top
brkalowhttps://github.com/brkalow
mainhttps://github.com/clerk/javascript/tree/main
brk.fix/unset-cookies-on-sign-outhttps://github.com/clerk/javascript/tree/brk.fix/unset-cookies-on-sign-out
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#issue-3249482016
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
brkalowhttps://github.com/brkalow
July 21, 2025 12:04https://github.com/clerk/javascript/pull/6368#commits-pushed-e8dc4c2
https://github.com/brkalow
Ensure same cookie attributes are passed to remove() and fixes the typeshttps://github.com/clerk/javascript/pull/6368/commits/e8dc4c2f7006174a3e6c057e32f65f70a3491e24
e8dc4c2https://github.com/clerk/javascript/pull/6368/commits/e8dc4c2f7006174a3e6c057e32f65f70a3491e24
https://github.com/brkalow
Adds test casehttps://github.com/clerk/javascript/pull/6368/commits/6f20ed87e119071fbd2c07235ac3ef7834dba3eb
6f20ed8https://github.com/clerk/javascript/pull/6368/commits/6f20ed87e119071fbd2c07235ac3ef7834dba3eb
https://github.com/brkalow
Adds changesethttps://github.com/clerk/javascript/pull/6368/commits/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9
81b7b4ahttps://github.com/clerk/javascript/pull/6368/commits/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#issuecomment-3097701812
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
6af5c67https://github.com/clerk/javascript/commit/6af5c6786ef81b8db28ed682be6310985ee415c4
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/unset-cookies-on-sign-out?filename=.changeset/cuddly-parents-battle.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A---%0A%0Afix(clerk-js)%3A%20Ensure%20cookies%20get%20unset%20on%20sign%20out%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#issuecomment-3097701823
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
Vercel for Git ↗︎https://vercel.link/github-learn-more
Inspecthttps://vercel.com/clerk-production/clerk-js-sandbox/H7qW5wHmpnorxxTqtQ2jgqPMMTKT
Visit Previewhttps://clerk-js-sandbox-git-brkfix-unset-cookies-on-sign-out.clerkstage.dev
Add feedbackhttps://vercel.live/open-feedback/clerk-js-sandbox-git-brkfix-unset-cookies-on-sign-out.clerkstage.dev?via=pr-comment-feedback-link
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
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
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#event-18733865517
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#issuecomment-3097712197
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
herehttps://docs.coderabbit.ai/finishing-touches/unit-test-generation
7cfeed2https://github.com/clerk/javascript/commit/7cfeed278066c4cd7c4ae17a5618efa075b2a781
6af5c67https://github.com/clerk/javascript/commit/6af5c6786ef81b8db28ed682be6310985ee415c4
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=clerk/javascript&utm_content=6368
support pagehttps://www.coderabbit.ai/contact-us/support
configuration documentationhttps://docs.coderabbit.ai/guides/configure-coderabbit
Documentationhttps://docs.coderabbit.ai
Discord Communityhttp://discord.gg/coderabbit
X/Twitterhttps://twitter.com/coderabbitai
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#issuecomment-3097716732
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
Open in StackBlitzhttps://pkg.pr.new/template/9b1b9be2-46d7-4141-9ad7-7404ae7e673d
6af5c67https://github.com/clerk/javascript/runs/46890124390
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 21, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3039127335
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9
packages/clerk-js/src/core/auth/cookies/devBrowser.tshttps://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9#diff-57cf9e4f5903f34218744317ac9308877ec42e48659ad329bb4f5945a3f23cd1
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 21, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3039127844
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9
packages/clerk-js/src/core/auth/cookies/devBrowser.tshttps://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9#diff-57cf9e4f5903f34218744317ac9308877ec42e48659ad329bb4f5945a3f23cd1
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 21, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3039128479
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9
packages/clerk-js/src/core/auth/cookies/devBrowser.tshttps://github.com/clerk/javascript/pull/6368/files/81b7b4af8ca9e4aea5321250e75a96da7ffdb0c9#diff-57cf9e4f5903f34218744317ac9308877ec42e48659ad329bb4f5945a3f23cd1
brkalowhttps://github.com/brkalow
Jul 21, 2025https://github.com/clerk/javascript/pull/6368#discussion_r2219869619
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
brkalowhttps://github.com/brkalow
July 21, 2025 13:02https://github.com/clerk/javascript/pull/6368#commits-pushed-b5bc084
https://github.com/brkalow
Apply suggestion fromhttps://github.com/clerk/javascript/pull/6368/commits/b5bc084d878eeb0db4c0fd418b5a0bd79904ba2b
@brkalowhttps://github.com/brkalow
b5bc084https://github.com/clerk/javascript/pull/6368/commits/b5bc084d878eeb0db4c0fd418b5a0bd79904ba2b
https://github.com/brkalow
Apply suggestion fromhttps://github.com/clerk/javascript/pull/6368/commits/7cfeed278066c4cd7c4ae17a5618efa075b2a781
@brkalowhttps://github.com/brkalow
7cfeed2https://github.com/clerk/javascript/pull/6368/commits/7cfeed278066c4cd7c4ae17a5618efa075b2a781
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-reawivsab.clerkstage.dev
Previewhttps://clerk-js-sandbox-reawivsab.clerkstage.dev
July 21, 2025 18:04https://github.com/clerk/javascript/pull/6368#event-18734333421
View deploymenthttps://clerk-js-sandbox-reawivsab.clerkstage.dev
https://github.com/alexcarpenter
alexcarpenterhttps://github.com/alexcarpenter
Jul 21, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3039844728
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Jul 21, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3039987189
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781
packages/clerk-js/src/core/clerk.tshttps://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781#diff-1952d6b8ac4b5495e1dba57c32bff9ce72d43f83595c1bc8532a76cf31feb753
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Jul 28, 2025 https://github.com/clerk/javascript/pull/6368#pullrequestreview-3064429318
View reviewed changes https://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781
packages/clerk-js/src/core/clerk.tshttps://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781#diff-1952d6b8ac4b5495e1dba57c32bff9ce72d43f83595c1bc8532a76cf31feb753
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
Apply suggestion fromhttps://github.com/clerk/javascript/pull/6368/commits/6af5c6786ef81b8db28ed682be6310985ee415c4
@brkalowhttps://github.com/brkalow
6af5c67https://github.com/clerk/javascript/pull/6368/commits/6af5c6786ef81b8db28ed682be6310985ee415c4
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-ej6n7z9ox.clerkstage.dev
Previewhttps://clerk-js-sandbox-ej6n7z9ox.clerkstage.dev
July 28, 2025 19:53https://github.com/clerk/javascript/pull/6368#event-18863650328
View deploymenthttps://clerk-js-sandbox-ej6n7z9ox.clerkstage.dev
https://github.com/brkalow
brkalowhttps://github.com/brkalow
f1d9d34https://github.com/clerk/javascript/commit/f1d9d3482a796dd5f7796ede14159850e022cba2
Jul 28, 2025https://github.com/clerk/javascript/pull/6368#event-18864085684
https://github.com/brkalow
brkalowhttps://github.com/brkalow
July 28, 2025 20:25https://github.com/clerk/javascript/pull/6368#event-18864086279
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 28, 2025 https://github.com/clerk/javascript/pull/6368#ref-pullrequest-3264614747
ci(repo): Version packages #6397 https://github.com/clerk/javascript/pull/6397
Deployedhttps://clerk-js-sandbox-ej6n7z9ox.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-ej6n7z9ox.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%2F6368
https://github.com/alexcarpenter
alexcarpenter https://github.com/alexcarpenter
https://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
https://github.com/clerk/javascript/pull/6368/files/7cfeed278066c4cd7c4ae17a5618efa075b2a781
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Please reload this pagehttps://github.com/clerk/javascript/pull/6368
https://github.com/brkalow
https://github.com/alexcarpenter
https://github.com/panteliselef
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.