René's URL Explorer Experiment


Title: fix(clerk-js): refresh session cookie on visibilitychange in cross-origin iframes by jacekradko · Pull Request #8923 · clerk/javascript · GitHub

Open Graph Title: fix(clerk-js): refresh session cookie on visibilitychange in cross-origin iframes by jacekradko · Pull Request #8923 · clerk/javascript

X Title: fix(clerk-js): refresh session cookie on visibilitychange in cross-origin iframes by jacekradko · Pull Request #8923 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(clerk-js): refresh session cookie on visibilitychange in cross-origin iframes by jacekradko · Pull Request #8923 · clerk/javascript

Open Graph Description: Apps running inside a cross-origin iframe (Replit's preview pane is the reported case) could get 401s after the user tabbed away and came back, until a manual page refresh. clerk-js refreshed t...

X Description: Apps running inside a cross-origin iframe (Replit's preview pane is the reported case) could get 401s after the user tabbed away and came back, until a manual page refresh. clerk-js refresh...

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

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:7baf9b4a-38ba-1025-d549-83981e644f85
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81AE:7DE86:D9C774:12FCEE8:6AFACB47
html-safe-nonce67b93f7b1c678d59b3db8f6f7620805e036b60708b0acda70b91caa497fa3e04
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUFFOjdERTg2OkQ5Qzc3NDoxMkZDRUU4OjZBRkFDQjQ3IiwidmlzaXRvcl9pZCI6IjcxNDcxNTIwOTg2Mzc1NjQ3NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace3770c8286491c1b4f140d61b1d5caa5b6895203479d4f4962d98d4b6a8272c5
hovercard-subject-tagpull_request:3894406454
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/8923/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0036e134d34bf7cafc441c7bace13ccc44ed44f4aa04c596773b28301f505124/clerk/javascript/pull/8923
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0036e134d34bf7cafc441c7bace13ccc44ed44f4aa04c596773b28301f505124/clerk/javascript/pull/8923
og:image:altApps running inside a cross-origin iframe (Replit's preview pane is the reported case) could get 401s after the user tabbed away and came back, until a manual page refresh. clerk-js refreshed t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejacekradko
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/8923#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8923
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%2F8923
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/8923
Reloadhttps://github.com/clerk/javascript/pull/8923
Reloadhttps://github.com/clerk/javascript/pull/8923
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
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
jacek/clerk-js-iframe-visibility-refreshhttps://github.com/clerk/javascript/tree/jacek/clerk-js-iframe-visibility-refresh
Conversationhttps://github.com/clerk/javascript/pull/8923
Commits4 (4)https://github.com/clerk/javascript/pull/8923/commits
Checkshttps://github.com/clerk/javascript/pull/8923/checks
Files changedhttps://github.com/clerk/javascript/pull/8923/files
fix(clerk-js): refresh session cookie on visibilitychange in cross-origin iframeshttps://github.com/clerk/javascript/pull/8923#top
wobsorianohttps://github.com/wobsoriano
mainhttps://github.com/clerk/javascript/tree/main
jacek/clerk-js-iframe-visibility-refreshhttps://github.com/clerk/javascript/tree/jacek/clerk-js-iframe-visibility-refresh
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issue-4695916775
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
#3786https://github.com/clerk/javascript/pull/3786
#8921https://github.com/clerk/javascript/issues/8921
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
fix(js): refresh session cookie on visibilitychange in cross-origin i…https://github.com/clerk/javascript/pull/8923/commits/6e14da18402172c49f70780a2b771dab90d8bccf
6e14da1https://github.com/clerk/javascript/pull/8923/commits/6e14da18402172c49f70780a2b771dab90d8bccf
#8921https://github.com/clerk/javascript/issues/8921
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issuecomment-4746073220
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
7da32achttps://github.com/clerk/javascript/commit/7da32acb7636dde195ebd736fa8c426e2acfa9fe
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/jacek/clerk-js-iframe-visibility-refresh?filename=.changeset/ninety-eels-ring.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0Afix(clerk-js)%3A%20refresh%20session%20cookie%20on%20visibilitychange%20in%20cross-origin%20iframes%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issuecomment-4746073462
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/3njyfYTRyvRdqjVjvxQMcHC17ETj
Previewhttps://clerk-js-sandbox-git-jacek-clerk-js-iframe-visibility-refresh.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-jacek-clerk-js-iframe-visibility-refresh.clerkstage.dev?via=pr-comment-feedback-link
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/FjAfizug4L2d9cD7sGocEgmtZYga
Previewhttps://swingset-git-jacek-clerk-js-iframe-visibility-refresh.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-jacek-clerk-js-iframe-visibility-refresh.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=8923
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-ozvysr0es.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-ozvysr0es.clerkstage.dev
June 18, 2026 20:57https://github.com/clerk/javascript/pull/8923#event-26930990377
View deploymenthttps://clerk-js-sandbox-ozvysr0es.clerkstage.dev
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issuecomment-4746074626
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/8923?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
6e14da1https://github.com/clerk/javascript/commit/6e14da18402172c49f70780a2b771dab90d8bccf
7da32achttps://github.com/clerk/javascript/commit/7da32acb7636dde195ebd736fa8c426e2acfa9fe
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#event-26930998224
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-1c863ihfx.clerkstage.dev
Preview – swingsethttps://swingset-1c863ihfx.clerkstage.dev
June 18, 2026 20:58https://github.com/clerk/javascript/pull/8923#event-26931024885
View deploymenthttps://swingset-1c863ihfx.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issuecomment-4746087490
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
Open in StackBlitzhttps://pkg.pr.new/template/a7d8557b-378b-4e5a-9e0a-f7c19bbb3a21
7da32achttps://github.com/clerk/javascript/runs/83310336856
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 18, 2026https://github.com/clerk/javascript/pull/8923#issuecomment-4746092209
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
brkalowhttps://github.com/brkalow
June 19, 2026 01:22https://github.com/clerk/javascript/pull/8923#event-26937457415
Merge branch 'main' into jacek/clerk-js-iframe-visibility-refreshhttps://github.com/clerk/javascript/pull/8923/commits/0d99ea9478f8e421ac44dc3f7f4374f65a39435d
0d99ea9https://github.com/clerk/javascript/pull/8923/commits/0d99ea9478f8e421ac44dc3f7f4374f65a39435d
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
thiskevinwanghttps://github.com/thiskevinwang
June 22, 2026 22:26https://github.com/clerk/javascript/pull/8923#event-27066065131
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-q99yrp3ue.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-q99yrp3ue.clerkstage.dev
June 22, 2026 22:26https://github.com/clerk/javascript/pull/8923#event-27066083085
View deploymenthttps://clerk-js-sandbox-q99yrp3ue.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-hmoqdwxeq.clerkstage.dev
Preview – swingsethttps://swingset-hmoqdwxeq.clerkstage.dev
June 22, 2026 22:28https://github.com/clerk/javascript/pull/8923#event-27066117397
View deploymenthttps://swingset-hmoqdwxeq.clerkstage.dev
https://github.com/thiskevinwang
thiskevinwanghttps://github.com/thiskevinwang
Jun 24, 2026 https://github.com/clerk/javascript/pull/8923#pullrequestreview-4565726093
View reviewed changes https://github.com/clerk/javascript/pull/8923/files/6058148c3097622e55784e792ca782c45d0dbc7e
thiskevinwanghttps://github.com/thiskevinwang
https://github.com/clerk/javascript/pull/8923#pullrequestreview-4565726093
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/thiskevinwang
Merge branch 'main' into jacek/clerk-js-iframe-visibility-refreshhttps://github.com/clerk/javascript/pull/8923/commits/6058148c3097622e55784e792ca782c45d0dbc7e
6058148https://github.com/clerk/javascript/pull/8923/commits/6058148c3097622e55784e792ca782c45d0dbc7e
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-9vm34hk8w.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-9vm34hk8w.clerkstage.dev
June 24, 2026 20:44https://github.com/clerk/javascript/pull/8923#event-27164991390
View deploymenthttps://clerk-js-sandbox-9vm34hk8w.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-lcild83ny.clerkstage.dev
Preview – swingsethttps://swingset-lcild83ny.clerkstage.dev
June 24, 2026 20:45https://github.com/clerk/javascript/pull/8923#event-27165044187
View deploymenthttps://swingset-lcild83ny.clerkstage.dev
https://github.com/wobsoriano
chore: bundlewatch fixhttps://github.com/clerk/javascript/pull/8923/commits/7da32acb7636dde195ebd736fa8c426e2acfa9fe
7da32achttps://github.com/clerk/javascript/pull/8923/commits/7da32acb7636dde195ebd736fa8c426e2acfa9fe
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-iipg5ujwp.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-iipg5ujwp.clerkstage.dev
June 24, 2026 21:51https://github.com/clerk/javascript/pull/8923#event-27167433188
View deploymenthttps://clerk-js-sandbox-iipg5ujwp.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-mcl80dgvi.clerkstage.dev
Preview – swingsethttps://swingset-mcl80dgvi.clerkstage.dev
June 24, 2026 21:52https://github.com/clerk/javascript/pull/8923#event-27167471857
View deploymenthttps://swingset-mcl80dgvi.clerkstage.dev
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
59f7327https://github.com/clerk/javascript/commit/59f73279ecb1b4e61eded0c68aa951211dd0db40
Jun 24, 2026https://github.com/clerk/javascript/pull/8923#event-27167683894
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
June 24, 2026 21:59https://github.com/clerk/javascript/pull/8923#event-27167684746
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jun 24, 2026 https://github.com/clerk/javascript/pull/8923#ref-pullrequest-4737705365
ci(repo): Version packages #8983 https://github.com/clerk/javascript/pull/8983
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 29, 2026 https://github.com/clerk/javascript/pull/8923#ref-pullrequest-4765904634
fix(clerk-js): apply session tokens monotonically on a single tab #9030 https://github.com/clerk/javascript/pull/9030
Deployedhttps://swingset-mcl80dgvi.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-mcl80dgvi.clerkstage.dev
Deployedhttps://clerk-js-sandbox-iipg5ujwp.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-iipg5ujwp.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%2F8923
https://github.com/thiskevinwang
thiskevinwang https://github.com/thiskevinwang
https://github.com/clerk/javascript/pull/8923/files/6058148c3097622e55784e792ca782c45d0dbc7e
https://github.com/brkalow
brkalow https://github.com/brkalow
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
Please reload this pagehttps://github.com/clerk/javascript/pull/8923
https://github.com/jacekradko
https://github.com/thiskevinwang
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.