René's URL Explorer Experiment


Title: feat(clerk-js): Proactive session token refresh by jacekradko · Pull Request #7317 · clerk/javascript · GitHub

Open Graph Title: feat(clerk-js): Proactive session token refresh by jacekradko · Pull Request #7317 · clerk/javascript

X Title: feat(clerk-js): Proactive session token refresh by jacekradko · Pull Request #7317 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - feat(clerk-js): Proactive session token refresh by jacekradko · Pull Request #7317 · clerk/javascript

Open Graph Description: Description This PR implements proactive token refresh for session tokens. Instead of waiting for getToken() calls to trigger refresh when a token is close to expiration, we schedule a timer when t...

X Description: Description This PR implements proactive token refresh for session tokens. Instead of waiting for getToken() calls to trigger refresh when a token is close to expiration, we schedule a timer when t...

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

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:d36ebc4a-929b-0d8b-f516-44415fedcc67
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA21C:163D8C:6F013:A7538:6AFAD1EC
html-safe-nonce35fa04285e188bcc4063a3d7d85142ee627076faf82ec9cc54f298cf87f60877
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjFDOjE2M0Q4Qzo2RjAxMzpBNzUzODo2QUZBRDFFQyIsInZpc2l0b3JfaWQiOiIzOTM2NjU4NTc3Mzg0MTk4NjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac453f9718e97714efd79af542cdf39c4ce0ddc973aa14a2e5ddf53485e848c223
hovercard-subject-tagpull_request:3045903491
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/7317/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fbb5bc5072888b3932f79986d5473b18bc6bdefac2f5512b89cd127d312af966/clerk/javascript/pull/7317
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fbb5bc5072888b3932f79986d5473b18bc6bdefac2f5512b89cd127d312af966/clerk/javascript/pull/7317
og:image:altDescription This PR implements proactive token refresh for session tokens. Instead of waiting for getToken() calls to trigger refresh when a token is close to expiration, we schedule a timer when t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejacekradko
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/7317#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7317
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%2F7317
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/7317
Reloadhttps://github.com/clerk/javascript/pull/7317
Reloadhttps://github.com/clerk/javascript/pull/7317
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
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/tree/feat/stale-while-revalidate-token
Conversationhttps://github.com/clerk/javascript/pull/7317
Commits44 (44)https://github.com/clerk/javascript/pull/7317/commits
Checkshttps://github.com/clerk/javascript/pull/7317/checks
Files changedhttps://github.com/clerk/javascript/pull/7317/files
feat(clerk-js): Proactive session token refreshhttps://github.com/clerk/javascript/pull/7317#top
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/tree/feat/stale-while-revalidate-token
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Nov 26, 2025https://github.com/clerk/javascript/pull/7317#issue-3665598185
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/clerk/dashboard/pull/7990https://github.com/clerk/dashboard/pull/7990
https://private-user-images.githubusercontent.com/1145580/536313325-f3763a69-6b52-4307-9c16-a37f4ed8d98f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4MjI5MzcsIm5iZiI6MTc5NDgyMjYzNywicGF0aCI6Ii8xMTQ1NTgwLzUzNjMxMzMyNS1mMzc2M2E2OS02YjUyLTQzMDctOWMxNi1hMzdmNGVkOGQ5OGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTExNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMTZUMDk1MDM3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjBjMmNjOWZhZTE5OTliNjNhNzBkZDc0NWFjMzNkYjg4YTZhNGQ1OTdiODk2MDQwYmQ5M2IyNDBmZjg1ZTcxMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.PZVgCZ7lZZBjCAfbocauUCj0iigmNV9WLZX9Obzb6Cc
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
feat(clerk-js): Stale-while-revalidate session tokenhttps://github.com/clerk/javascript/pull/7317/commits/b5f683de5f421697a4da91befce57093727a7a36
b5f683dhttps://github.com/clerk/javascript/pull/7317/commits/b5f683de5f421697a4da91befce57093727a7a36
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 26, 2025https://github.com/clerk/javascript/pull/7317#issuecomment-3578890724
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
6da6883https://github.com/clerk/javascript/commit/6da6883f98ddfcec439e7c40fa4c40205bfe583a
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/feat/stale-while-revalidate-token?filename=.changeset/lemon-maps-jam.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A%22%40clerk%2Fupgrade%22%3A%20patch%0A---%0A%0Afeat(clerk-js)%3A%20Proactive%20session%20token%20refresh%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 26, 2025https://github.com/clerk/javascript/pull/7317#issuecomment-3578890762
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Discord threadhttps://discord.com/channels/1134356397673414807/1256444831027298315/threads/1466535275902668872
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Nov 26, 2025https://github.com/clerk/javascript/pull/7317#issuecomment-3578890779
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
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/3HCdxpbKuDUQiDvHsdrzFotMsHVQ
Previewhttps://clerk-js-sandbox-git-feat-stale-while-revalidate-token.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-feat-stale-while-revalidate-token.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=7317
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-o66ung59j.clerkstage.dev
Previewhttps://clerk-js-sandbox-o66ung59j.clerkstage.dev
November 26, 2025 03:47https://github.com/clerk/javascript/pull/7317#event-21182406054
View deploymenthttps://clerk-js-sandbox-o66ung59j.clerkstage.dev
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
Nov 26, 2025https://github.com/clerk/javascript/pull/7317#event-21182406355
wiphttps://github.com/clerk/javascript/pull/7317/commits/caa97e28f51a71de89a051dc098815b298eeacca
caa97e2https://github.com/clerk/javascript/pull/7317/commits/caa97e28f51a71de89a051dc098815b298eeacca
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-cu04hpb7t.clerkstage.dev
Previewhttps://clerk-js-sandbox-cu04hpb7t.clerkstage.dev
November 27, 2025 02:10https://github.com/clerk/javascript/pull/7317#event-21208713224
View deploymenthttps://clerk-js-sandbox-cu04hpb7t.clerkstage.dev
Merge branch 'vincent-and-the-doctor' into feat/stale-while-revalidat…https://github.com/clerk/javascript/pull/7317/commits/3914ffa8ff296caab9b64ee8b30f41ababe28788
3914ffahttps://github.com/clerk/javascript/pull/7317/commits/3914ffa8ff296caab9b64ee8b30f41ababe28788
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-airxfv19d.clerkstage.dev
Previewhttps://clerk-js-sandbox-airxfv19d.clerkstage.dev
December 1, 2025 15:53https://github.com/clerk/javascript/pull/7317#event-21280151843
View deploymenthttps://clerk-js-sandbox-airxfv19d.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
December 1, 2025 17:23https://github.com/clerk/javascript/pull/7317#event-21282388749
add hard cutoff for background refreshhttps://github.com/clerk/javascript/pull/7317/commits/8c4092f60e5ed80a15b87333f577779ded975903
8c4092fhttps://github.com/clerk/javascript/pull/7317/commits/8c4092f60e5ed80a15b87333f577779ded975903
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-g7hwb0zav.clerkstage.dev
Previewhttps://clerk-js-sandbox-g7hwb0zav.clerkstage.dev
December 1, 2025 17:59https://github.com/clerk/javascript/pull/7317#event-21283423642
View deploymenthttps://clerk-js-sandbox-g7hwb0zav.clerkstage.dev
https://github.com/brkalow
brkalowhttps://github.com/brkalow
Ephemhttps://github.com/Ephem
December 2, 2025 04:06https://github.com/clerk/javascript/pull/7317#event-21294443641
https://github.com/Ephem
Ephemhttps://github.com/Ephem
Dec 2, 2025 https://github.com/clerk/javascript/pull/7317#pullrequestreview-3529055806
View reviewed changes https://github.com/clerk/javascript/pull/7317/files/8c4092f60e5ed80a15b87333f577779ded975903
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/7317/files/8c4092f60e5ed80a15b87333f577779ded975903#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/7317/files/8c4092f60e5ed80a15b87333f577779ded975903#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Merge branch 'vincent-and-the-doctor' into feat/stale-while-revalidat…https://github.com/clerk/javascript/pull/7317/commits/ed58e715c2ca90bcbb23666254ad7b3a6de112bd
ed58e71https://github.com/clerk/javascript/pull/7317/commits/ed58e715c2ca90bcbb23666254ad7b3a6de112bd
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev
Previewhttps://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev
December 2, 2025 14:17https://github.com/clerk/javascript/pull/7317#event-21307278130
View deploymenthttps://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev
capture tokenResolver reference before potential cache changeshttps://github.com/clerk/javascript/pull/7317/commits/460964ca9050260522a0fd9046ad3e5a13ee4f4c
460964chttps://github.com/clerk/javascript/pull/7317/commits/460964ca9050260522a0fd9046ad3e5a13ee4f4c
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-r3j0be09n.clerkstage.dev
Previewhttps://clerk-js-sandbox-r3j0be09n.clerkstage.dev
December 2, 2025 14:25https://github.com/clerk/javascript/pull/7317#event-21307478007
View deploymenthttps://clerk-js-sandbox-r3j0be09n.clerkstage.dev
preserver SWR semantics on concurrent getToken callshttps://github.com/clerk/javascript/pull/7317/commits/b3f14aad7f471e28e818c9dd7f28edc3fa49818e
b3f14aahttps://github.com/clerk/javascript/pull/7317/commits/b3f14aad7f471e28e818c9dd7f28edc3fa49818e
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-4t78luphr.clerkstage.dev
Previewhttps://clerk-js-sandbox-4t78luphr.clerkstage.dev
December 2, 2025 15:08https://github.com/clerk/javascript/pull/7317#event-21308684313
View deploymenthttps://clerk-js-sandbox-4t78luphr.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Dec 2, 2025https://github.com/clerk/javascript/pull/7317#issuecomment-3602532444
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Open in StackBlitzhttps://pkg.pr.new/template/7f0feb5a-0750-4249-a7d9-6d987b39b986
6da6883https://github.com/clerk/javascript/runs/61948724967
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Merge branch 'vincent-and-the-doctor' into feat/stale-while-revalidat…https://github.com/clerk/javascript/pull/7317/commits/ea7b6ee8ba16417befeb39dd92d4283ea4520148
ea7b6eehttps://github.com/clerk/javascript/pull/7317/commits/ea7b6ee8ba16417befeb39dd92d4283ea4520148
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-bkhjsvthi.clerkstage.dev
Previewhttps://clerk-js-sandbox-bkhjsvthi.clerkstage.dev
December 2, 2025 15:36https://github.com/clerk/javascript/pull/7317#event-21309447460
View deploymenthttps://clerk-js-sandbox-bkhjsvthi.clerkstage.dev
Use poller exlusively for refreshing tokenshttps://github.com/clerk/javascript/pull/7317/commits/d6dd49c43748aaa6ef1230a5fc24f21a3778e736
d6dd49chttps://github.com/clerk/javascript/pull/7317/commits/d6dd49c43748aaa6ef1230a5fc24f21a3778e736
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-mxgdhcvxg.clerkstage.dev
Previewhttps://clerk-js-sandbox-mxgdhcvxg.clerkstage.dev
December 2, 2025 16:16https://github.com/clerk/javascript/pull/7317#event-21310655477
View deploymenthttps://clerk-js-sandbox-mxgdhcvxg.clerkstage.dev
Merge branch 'vincent-and-the-doctor' into feat/stale-while-revalidat…https://github.com/clerk/javascript/pull/7317/commits/1c722cff64fb44e63afa8ba5cc555a68b6be3560
1c722cfhttps://github.com/clerk/javascript/pull/7317/commits/1c722cff64fb44e63afa8ba5cc555a68b6be3560
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-gew76lwea.clerkstage.dev
Previewhttps://clerk-js-sandbox-gew76lwea.clerkstage.dev
December 3, 2025 15:02https://github.com/clerk/javascript/pull/7317#event-21335127745
View deploymenthttps://clerk-js-sandbox-gew76lwea.clerkstage.dev
https://github.com/Ephem
Ephemhttps://github.com/Ephem
Dec 4, 2025 https://github.com/clerk/javascript/pull/7317#pullrequestreview-3539389716
View reviewed changes https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560
Ephemhttps://github.com/Ephem
https://github.com/clerk/javascript/pull/7317#pullrequestreview-3539389716
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
Ephemhttps://github.com/Ephem
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2588577078
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
jacekradkohttps://github.com/jacekradko
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2589925202
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
jacekradkohttps://github.com/jacekradko
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2589926803
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
Ephemhttps://github.com/Ephem
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2588589630
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
brkalowhttps://github.com/brkalow
Jan 7, 2026https://github.com/clerk/javascript/pull/7317#discussion_r2667061513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/auth/AuthCookieService.tshttps://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-735e5e95d9c8384a4c93b3f6872c105958bbd18f78e6fafa7016766561440291
Ephemhttps://github.com/Ephem
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2588620339
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
jacekradkohttps://github.com/jacekradko
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2589910044
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
Ephemhttps://github.com/Ephem
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2588635168
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
jacekradkohttps://github.com/jacekradko
Dec 4, 2025https://github.com/clerk/javascript/pull/7317#discussion_r2589908384
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
force-pushedhttps://github.com/clerk/javascript/compare/d24d455cedb36b920fecd167d43e6a24d2f3a886..12a12f5a874cc9cf0421204922984183fa016a53
d24d455https://github.com/clerk/javascript/commit/d24d455cedb36b920fecd167d43e6a24d2f3a886
12a12f5https://github.com/clerk/javascript/commit/12a12f5a874cc9cf0421204922984183fa016a53
Compare https://github.com/clerk/javascript/compare/d24d455cedb36b920fecd167d43e6a24d2f3a886..12a12f5a874cc9cf0421204922984183fa016a53
December 8, 2025 17:40https://github.com/clerk/javascript/pull/7317#event-21432738700
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-e7e5200he.clerkstage.dev
Previewhttps://clerk-js-sandbox-e7e5200he.clerkstage.dev
January 27, 2026 16:26https://github.com/clerk/javascript/pull/7317#event-22322737182
View deploymenthttps://clerk-js-sandbox-e7e5200he.clerkstage.dev
Merge branch 'main' into feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/pull/7317/commits/5ed81e80286df9efc4f897ff74b1e835a9af8472
5ed81e8https://github.com/clerk/javascript/pull/7317/commits/5ed81e80286df9efc4f897ff74b1e835a9af8472
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev
Previewhttps://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev
January 27, 2026 19:57https://github.com/clerk/javascript/pull/7317#event-22327229579
View deploymenthttps://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
Jan 28, 2026 https://github.com/clerk/javascript/pull/7317#pullrequestreview-3715940943
View reviewed changes https://github.com/clerk/javascript/pull/7317/files/7ff27b3bb521fd73ebfdb9a4afbbb4cfa790b21c
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
Jan 28, 2026 https://github.com/clerk/javascript/pull/7317#pullrequestreview-3716015774
View reviewed changes https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472
packages/upgrade/src/versions/core-3/changes/gettoken-stale-while-revalidate.mdhttps://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-6732d50744862d1ecfcf930c8d23c0c61b877b0a9d432319e7e7de8ea89a2a16
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/shared/src/types/session.tshttps://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-9e76c492601eafe73efab892ccf26301c6ebfbc54b68499d5c55a0d84562837f
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
nikosdouvlishttps://github.com/nikosdouvlis
Jan 28, 2026https://github.com/clerk/javascript/pull/7317#discussion_r2736124367
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Merge branch 'main' into feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/pull/7317/commits/7ff27b3bb521fd73ebfdb9a4afbbb4cfa790b21c
7ff27b3https://github.com/clerk/javascript/pull/7317/commits/7ff27b3bb521fd73ebfdb9a4afbbb4cfa790b21c
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-graacbp8b.clerkstage.dev
Previewhttps://clerk-js-sandbox-graacbp8b.clerkstage.dev
January 28, 2026 15:59https://github.com/clerk/javascript/pull/7317#event-22350062203
View deploymenthttps://clerk-js-sandbox-graacbp8b.clerkstage.dev
refactor(clerk-js): Remove leewayInSeconds from public APIhttps://github.com/clerk/javascript/pull/7317/commits/d3fa022f38d8ea3e50d79e27c086160a618c0ef5
d3fa022https://github.com/clerk/javascript/pull/7317/commits/d3fa022f38d8ea3e50d79e27c086160a618c0ef5
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-mj11rio9r.clerkstage.dev
Previewhttps://clerk-js-sandbox-mj11rio9r.clerkstage.dev
January 28, 2026 16:36https://github.com/clerk/javascript/pull/7317#event-22351051020
View deploymenthttps://clerk-js-sandbox-mj11rio9r.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Jan 28, 2026https://github.com/clerk/javascript/pull/7317#issuecomment-3812389344
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
feat(upgrade): Add codemod to remove leewayInSeconds from getToken callshttps://github.com/clerk/javascript/pull/7317/commits/7430053e8afb8e8471d4f65e133fa5b98504dd3c
7430053https://github.com/clerk/javascript/pull/7317/commits/7430053e8afb8e8471d4f65e133fa5b98504dd3c
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-hcnegcv51.clerkstage.dev
January 28, 2026 16:39https://github.com/clerk/javascript/pull/7317#event-22351119350
Merge branch 'main' into feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/pull/7317/commits/5fcdef320d53efaaf673473a1456d446a87a2fb9
5fcdef3https://github.com/clerk/javascript/pull/7317/commits/5fcdef320d53efaaf673473a1456d446a87a2fb9
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-9ods6qlo9.clerkstage.dev
Previewhttps://clerk-js-sandbox-9ods6qlo9.clerkstage.dev
January 29, 2026 02:50https://github.com/clerk/javascript/pull/7317#event-22364117277
View deploymenthttps://clerk-js-sandbox-9ods6qlo9.clerkstage.dev
formathttps://github.com/clerk/javascript/pull/7317/commits/6c3a5bf0aa22b2e60f2bb3fae5f55146d08dc861
6c3a5bfhttps://github.com/clerk/javascript/pull/7317/commits/6c3a5bf0aa22b2e60f2bb3fae5f55146d08dc861
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-85nszzdql.clerkstage.dev
Previewhttps://clerk-js-sandbox-85nszzdql.clerkstage.dev
January 29, 2026 03:04https://github.com/clerk/javascript/pull/7317#event-22364362836
View deploymenthttps://clerk-js-sandbox-85nszzdql.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Jan 29, 2026https://github.com/clerk/javascript/pull/7317#issuecomment-3815339475
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jan 29, 2026https://github.com/clerk/javascript/pull/7317#issuecomment-3815346677
@jacekradkohttps://github.com/jacekradko
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
Merge branch 'main' into feat/stale-while-revalidate-tokenhttps://github.com/clerk/javascript/pull/7317/commits/902b8fce0be7908e8b685e0a5dfcff7e839f422d
902b8fchttps://github.com/clerk/javascript/pull/7317/commits/902b8fce0be7908e8b685e0a5dfcff7e839f422d
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-kn8aorb0h.clerkstage.dev
Previewhttps://clerk-js-sandbox-kn8aorb0h.clerkstage.dev
January 30, 2026 01:39https://github.com/clerk/javascript/pull/7317#event-22392985152
View deploymenthttps://clerk-js-sandbox-kn8aorb0h.clerkstage.dev
chore: bump legacy browser bundle limit to 106KBhttps://github.com/clerk/javascript/pull/7317/commits/6da6883f98ddfcec439e7c40fa4c40205bfe583a
6da6883https://github.com/clerk/javascript/pull/7317/commits/6da6883f98ddfcec439e7c40fa4c40205bfe583a
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-f1193eufm.clerkstage.dev
Previewhttps://clerk-js-sandbox-f1193eufm.clerkstage.dev
January 30, 2026 01:49https://github.com/clerk/javascript/pull/7317#event-22393173210
View deploymenthttps://clerk-js-sandbox-f1193eufm.clerkstage.dev
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Jan 30, 2026https://github.com/clerk/javascript/pull/7317#issuecomment-3821336053
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jan 30, 2026https://github.com/clerk/javascript/pull/7317#issuecomment-3821341555
@jacekradkohttps://github.com/jacekradko
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
3ff86c4https://github.com/clerk/javascript/commit/3ff86c42a27beccaf7d0a4af398ed71c66b21dbe
Jan 30, 2026https://github.com/clerk/javascript/pull/7317#event-22395215742
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
January 30, 2026 02:56https://github.com/clerk/javascript/pull/7317#event-22395217429
https://github.com/thazhemadam
thazhemadamhttps://github.com/thazhemadam
Jun 25, 2026 https://github.com/clerk/javascript/pull/7317#ref-pullrequest-4740306062
fix(clerk-js): Backport using JWT iat for token cache timing #8987 https://github.com/clerk/javascript/pull/8987
https://github.com/nikosdouvlis
nikosdouvlishttps://github.com/nikosdouvlis
Jul 23, 2026 https://github.com/clerk/javascript/pull/7317#ref-pullrequest-4950272934
feat(js): send tab state with session token requests #9215 https://github.com/clerk/javascript/pull/9215
https://github.com/AKhozya
AKhozyahttps://github.com/AKhozya
Oct 9, 2026 https://github.com/clerk/javascript/pull/7317#ref-issue-5785079358
clerk-js: SessionTokenCache serves server-expired session tokens when the device clock runs behind (regression of #672) #10185 https://github.com/clerk/javascript/issues/10185
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Oct 23, 2026 https://github.com/clerk/javascript/pull/7317#ref-pullrequest-6005416020
fix(clerk-js): expire cached session tokens by the earlier of exp and lifetime #10401 https://github.com/clerk/javascript/pull/10401
Deployedhttps://clerk-js-sandbox-f1193eufm.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-f1193eufm.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%2F7317
https://github.com/brkalow
brkalow https://github.com/brkalow
https://github.com/clerk/javascript/pull/7317/files/441532faf7642b4ab2ceb6fe9814e0baef44e66c
https://github.com/nikosdouvlis
nikosdouvlis https://github.com/nikosdouvlis
https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472
https://github.com/Ephem
Ephem https://github.com/Ephem
https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/7317/files/8c5c6e5c0d31712ffa55f37e290678f87097ac50
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
clerk-js https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js
core-3 https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Acore-3
Please reload this pagehttps://github.com/clerk/javascript/pull/7317
https://github.com/jacekradko
https://github.com/clerk-cookie
https://github.com/brkalow
https://github.com/nikosdouvlis
https://github.com/Ephem
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.