| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:d36ebc4a-929b-0d8b-f516-44415fedcc67 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A21C:163D8C:6F013:A7538:6AFAD1EC |
| html-safe-nonce | 35fa04285e188bcc4063a3d7d85142ee627076faf82ec9cc54f298cf87f60877 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjFDOjE2M0Q4Qzo2RjAxMzpBNzUzODo2QUZBRDFFQyIsInZpc2l0b3JfaWQiOiIzOTM2NjU4NTc3Mzg0MTk4NjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 453f9718e97714efd79af542cdf39c4ce0ddc973aa14a2e5ddf53485e848c223 |
| hovercard-subject-tag | pull_request:3045903491 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/7317/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fbb5bc5072888b3932f79986d5473b18bc6bdefac2f5512b89cd127d312af966/clerk/javascript/pull/7317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fbb5bc5072888b3932f79986d5473b18bc6bdefac2f5512b89cd127d312af966/clerk/javascript/pull/7317 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jacekradko |
| hostname | github.com |
| expected-hostname | github.com |
| None | aa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be9dc02df8087c7449fb60a416e138c34108ed94 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/7317#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7317 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F7317 |
| Sign up | https://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 |
| Reload | https://github.com/clerk/javascript/pull/7317 |
| Reload | https://github.com/clerk/javascript/pull/7317 |
| Reload | https://github.com/clerk/javascript/pull/7317 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| feat/stale-while-revalidate-token | https://github.com/clerk/javascript/tree/feat/stale-while-revalidate-token |
| Conversation | https://github.com/clerk/javascript/pull/7317 |
| Commits44 (44) | https://github.com/clerk/javascript/pull/7317/commits |
| Checks | https://github.com/clerk/javascript/pull/7317/checks |
| Files changed | https://github.com/clerk/javascript/pull/7317/files |
| feat(clerk-js): Proactive session token refresh | https://github.com/clerk/javascript/pull/7317#top |
| jacekradko | https://github.com/jacekradko |
| main | https://github.com/clerk/javascript/tree/main |
| feat/stale-while-revalidate-token | https://github.com/clerk/javascript/tree/feat/stale-while-revalidate-token |
|
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Nov 26, 2025 | https://github.com/clerk/javascript/pull/7317#issue-3665598185 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/clerk/dashboard/pull/7990 | https://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 comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| feat(clerk-js): Stale-while-revalidate session token | https://github.com/clerk/javascript/pull/7317/commits/b5f683de5f421697a4da91befce57093727a7a36 |
| b5f683d | https://github.com/clerk/javascript/pull/7317/commits/b5f683de5f421697a4da91befce57093727a7a36 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Nov 26, 2025 | https://github.com/clerk/javascript/pull/7317#issuecomment-3578890724 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| 6da6883 | https://github.com/clerk/javascript/commit/6da6883f98ddfcec439e7c40fa4c40205bfe583a |
| Click here to learn what changesets are | https://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 PR | https://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 page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 26, 2025 | https://github.com/clerk/javascript/pull/7317#issuecomment-3578890762 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| Discord thread | https://discord.com/channels/1134356397673414807/1256444831027298315/threads/1466535275902668872 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Nov 26, 2025 | https://github.com/clerk/javascript/pull/7317#issuecomment-3578890779 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| clerk-js-sandbox | https://vercel.com/clerk-production/clerk-js-sandbox |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/clerk-production/clerk-js-sandbox/3HCdxpbKuDUQiDvHsdrzFotMsHVQ |
| Preview | https://clerk-js-sandbox-git-feat-stale-while-revalidate-token.clerkstage.dev |
| Comment | https://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 page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-o66ung59j.clerkstage.dev |
| Preview | https://clerk-js-sandbox-o66ung59j.clerkstage.dev |
| November 26, 2025 03:47 | https://github.com/clerk/javascript/pull/7317#event-21182406054 |
| View deployment | https://clerk-js-sandbox-o66ung59j.clerkstage.dev |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
|
clerk-js
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aclerk-js |
| Nov 26, 2025 | https://github.com/clerk/javascript/pull/7317#event-21182406355 |
| wip | https://github.com/clerk/javascript/pull/7317/commits/caa97e28f51a71de89a051dc098815b298eeacca |
| caa97e2 | https://github.com/clerk/javascript/pull/7317/commits/caa97e28f51a71de89a051dc098815b298eeacca |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-cu04hpb7t.clerkstage.dev |
| Preview | https://clerk-js-sandbox-cu04hpb7t.clerkstage.dev |
| November 27, 2025 02:10 | https://github.com/clerk/javascript/pull/7317#event-21208713224 |
| View deployment | https://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 |
| 3914ffa | https://github.com/clerk/javascript/pull/7317/commits/3914ffa8ff296caab9b64ee8b30f41ababe28788 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-airxfv19d.clerkstage.dev |
| Preview | https://clerk-js-sandbox-airxfv19d.clerkstage.dev |
| December 1, 2025 15:53 | https://github.com/clerk/javascript/pull/7317#event-21280151843 |
| View deployment | https://clerk-js-sandbox-airxfv19d.clerkstage.dev |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| December 1, 2025 17:23 | https://github.com/clerk/javascript/pull/7317#event-21282388749 |
| add hard cutoff for background refresh | https://github.com/clerk/javascript/pull/7317/commits/8c4092f60e5ed80a15b87333f577779ded975903 |
| 8c4092f | https://github.com/clerk/javascript/pull/7317/commits/8c4092f60e5ed80a15b87333f577779ded975903 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-g7hwb0zav.clerkstage.dev |
| Preview | https://clerk-js-sandbox-g7hwb0zav.clerkstage.dev |
| December 1, 2025 17:59 | https://github.com/clerk/javascript/pull/7317#event-21283423642 |
| View deployment | https://clerk-js-sandbox-g7hwb0zav.clerkstage.dev |
| https://github.com/brkalow |
| brkalow | https://github.com/brkalow |
| Ephem | https://github.com/Ephem |
| December 2, 2025 04:06 | https://github.com/clerk/javascript/pull/7317#event-21294443641 |
| https://github.com/Ephem |
| Ephem | https://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.ts | https://github.com/clerk/javascript/pull/7317/files/8c4092f60e5ed80a15b87333f577779ded975903#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/resources/Session.ts | https://github.com/clerk/javascript/pull/7317/files/8c4092f60e5ed80a15b87333f577779ded975903#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| Please reload this page | https://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 |
| ed58e71 | https://github.com/clerk/javascript/pull/7317/commits/ed58e715c2ca90bcbb23666254ad7b3a6de112bd |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev |
| Preview | https://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev |
| December 2, 2025 14:17 | https://github.com/clerk/javascript/pull/7317#event-21307278130 |
| View deployment | https://clerk-js-sandbox-o2vlt6vvh.clerkstage.dev |
| capture tokenResolver reference before potential cache changes | https://github.com/clerk/javascript/pull/7317/commits/460964ca9050260522a0fd9046ad3e5a13ee4f4c |
| 460964c | https://github.com/clerk/javascript/pull/7317/commits/460964ca9050260522a0fd9046ad3e5a13ee4f4c |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-r3j0be09n.clerkstage.dev |
| Preview | https://clerk-js-sandbox-r3j0be09n.clerkstage.dev |
| December 2, 2025 14:25 | https://github.com/clerk/javascript/pull/7317#event-21307478007 |
| View deployment | https://clerk-js-sandbox-r3j0be09n.clerkstage.dev |
| preserver SWR semantics on concurrent getToken calls | https://github.com/clerk/javascript/pull/7317/commits/b3f14aad7f471e28e818c9dd7f28edc3fa49818e |
| b3f14aa | https://github.com/clerk/javascript/pull/7317/commits/b3f14aad7f471e28e818c9dd7f28edc3fa49818e |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-4t78luphr.clerkstage.dev |
| Preview | https://clerk-js-sandbox-4t78luphr.clerkstage.dev |
| December 2, 2025 15:08 | https://github.com/clerk/javascript/pull/7317#event-21308684313 |
| View deployment | https://clerk-js-sandbox-4t78luphr.clerkstage.dev |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Dec 2, 2025 | https://github.com/clerk/javascript/pull/7317#issuecomment-3602532444 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| Open in StackBlitz | https://pkg.pr.new/template/7f0feb5a-0750-4249-a7d9-6d987b39b986 |
| 6da6883 | https://github.com/clerk/javascript/runs/61948724967 |
| Please reload this page | https://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 |
| ea7b6ee | https://github.com/clerk/javascript/pull/7317/commits/ea7b6ee8ba16417befeb39dd92d4283ea4520148 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-bkhjsvthi.clerkstage.dev |
| Preview | https://clerk-js-sandbox-bkhjsvthi.clerkstage.dev |
| December 2, 2025 15:36 | https://github.com/clerk/javascript/pull/7317#event-21309447460 |
| View deployment | https://clerk-js-sandbox-bkhjsvthi.clerkstage.dev |
| Use poller exlusively for refreshing tokens | https://github.com/clerk/javascript/pull/7317/commits/d6dd49c43748aaa6ef1230a5fc24f21a3778e736 |
| d6dd49c | https://github.com/clerk/javascript/pull/7317/commits/d6dd49c43748aaa6ef1230a5fc24f21a3778e736 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-mxgdhcvxg.clerkstage.dev |
| Preview | https://clerk-js-sandbox-mxgdhcvxg.clerkstage.dev |
| December 2, 2025 16:16 | https://github.com/clerk/javascript/pull/7317#event-21310655477 |
| View deployment | https://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 |
| 1c722cf | https://github.com/clerk/javascript/pull/7317/commits/1c722cff64fb44e63afa8ba5cc555a68b6be3560 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-gew76lwea.clerkstage.dev |
| Preview | https://clerk-js-sandbox-gew76lwea.clerkstage.dev |
| December 3, 2025 15:02 | https://github.com/clerk/javascript/pull/7317#event-21335127745 |
| View deployment | https://clerk-js-sandbox-gew76lwea.clerkstage.dev |
| https://github.com/Ephem |
| Ephem | https://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 |
| Ephem | https://github.com/Ephem |
| https://github.com/clerk/javascript/pull/7317#pullrequestreview-3539389716 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| Ephem | https://github.com/Ephem |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2588577078 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| jacekradko | https://github.com/jacekradko |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2589925202 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| jacekradko | https://github.com/jacekradko |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2589926803 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| Ephem | https://github.com/Ephem |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2588589630 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| brkalow | https://github.com/brkalow |
| Jan 7, 2026 | https://github.com/clerk/javascript/pull/7317#discussion_r2667061513 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/auth/AuthCookieService.ts | https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-735e5e95d9c8384a4c93b3f6872c105958bbd18f78e6fafa7016766561440291 |
| Ephem | https://github.com/Ephem |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2588620339 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| jacekradko | https://github.com/jacekradko |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2589910044 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/resources/Session.ts | https://github.com/clerk/javascript/pull/7317/files/1c722cff64fb44e63afa8ba5cc555a68b6be3560#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| Ephem | https://github.com/Ephem |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2588635168 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| jacekradko | https://github.com/jacekradko |
| Dec 4, 2025 | https://github.com/clerk/javascript/pull/7317#discussion_r2589908384 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://github.com/nikosdouvlis |
| force-pushed | https://github.com/clerk/javascript/compare/d24d455cedb36b920fecd167d43e6a24d2f3a886..12a12f5a874cc9cf0421204922984183fa016a53 |
| d24d455 | https://github.com/clerk/javascript/commit/d24d455cedb36b920fecd167d43e6a24d2f3a886 |
| 12a12f5 | https://github.com/clerk/javascript/commit/12a12f5a874cc9cf0421204922984183fa016a53 |
|
Compare
| https://github.com/clerk/javascript/compare/d24d455cedb36b920fecd167d43e6a24d2f3a886..12a12f5a874cc9cf0421204922984183fa016a53 |
| December 8, 2025 17:40 | https://github.com/clerk/javascript/pull/7317#event-21432738700 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-e7e5200he.clerkstage.dev |
| Preview | https://clerk-js-sandbox-e7e5200he.clerkstage.dev |
| January 27, 2026 16:26 | https://github.com/clerk/javascript/pull/7317#event-22322737182 |
| View deployment | https://clerk-js-sandbox-e7e5200he.clerkstage.dev |
| Merge branch 'main' into feat/stale-while-revalidate-token | https://github.com/clerk/javascript/pull/7317/commits/5ed81e80286df9efc4f897ff74b1e835a9af8472 |
| 5ed81e8 | https://github.com/clerk/javascript/pull/7317/commits/5ed81e80286df9efc4f897ff74b1e835a9af8472 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev |
| Preview | https://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev |
| January 27, 2026 19:57 | https://github.com/clerk/javascript/pull/7317#event-22327229579 |
| View deployment | https://clerk-js-sandbox-pzpgwhyqm.clerkstage.dev |
| https://github.com/nikosdouvlis |
| nikosdouvlis | https://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 |
| nikosdouvlis | https://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.md | https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-6732d50744862d1ecfcf930c8d23c0c61b877b0a9d432319e7e7de8ea89a2a16 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/shared/src/types/session.ts | https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-9e76c492601eafe73efab892ccf26301c6ebfbc54b68499d5c55a0d84562837f |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| packages/clerk-js/src/core/resources/Session.ts | https://github.com/clerk/javascript/pull/7317/files/5ed81e80286df9efc4f897ff74b1e835a9af8472#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653 |
| nikosdouvlis | https://github.com/nikosdouvlis |
| Jan 28, 2026 | https://github.com/clerk/javascript/pull/7317#discussion_r2736124367 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| Merge branch 'main' into feat/stale-while-revalidate-token | https://github.com/clerk/javascript/pull/7317/commits/7ff27b3bb521fd73ebfdb9a4afbbb4cfa790b21c |
| 7ff27b3 | https://github.com/clerk/javascript/pull/7317/commits/7ff27b3bb521fd73ebfdb9a4afbbb4cfa790b21c |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-graacbp8b.clerkstage.dev |
| Preview | https://clerk-js-sandbox-graacbp8b.clerkstage.dev |
| January 28, 2026 15:59 | https://github.com/clerk/javascript/pull/7317#event-22350062203 |
| View deployment | https://clerk-js-sandbox-graacbp8b.clerkstage.dev |
| refactor(clerk-js): Remove leewayInSeconds from public API | https://github.com/clerk/javascript/pull/7317/commits/d3fa022f38d8ea3e50d79e27c086160a618c0ef5 |
| d3fa022 | https://github.com/clerk/javascript/pull/7317/commits/d3fa022f38d8ea3e50d79e27c086160a618c0ef5 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-mj11rio9r.clerkstage.dev |
| Preview | https://clerk-js-sandbox-mj11rio9r.clerkstage.dev |
| January 28, 2026 16:36 | https://github.com/clerk/javascript/pull/7317#event-22351051020 |
| View deployment | https://clerk-js-sandbox-mj11rio9r.clerkstage.dev |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Jan 28, 2026 | https://github.com/clerk/javascript/pull/7317#issuecomment-3812389344 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| feat(upgrade): Add codemod to remove leewayInSeconds from getToken calls | https://github.com/clerk/javascript/pull/7317/commits/7430053e8afb8e8471d4f65e133fa5b98504dd3c |
| 7430053 | https://github.com/clerk/javascript/pull/7317/commits/7430053e8afb8e8471d4f65e133fa5b98504dd3c |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://clerk-js-sandbox-hcnegcv51.clerkstage.dev |
| January 28, 2026 16:39 | https://github.com/clerk/javascript/pull/7317#event-22351119350 |
| Merge branch 'main' into feat/stale-while-revalidate-token | https://github.com/clerk/javascript/pull/7317/commits/5fcdef320d53efaaf673473a1456d446a87a2fb9 |
| 5fcdef3 | https://github.com/clerk/javascript/pull/7317/commits/5fcdef320d53efaaf673473a1456d446a87a2fb9 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-9ods6qlo9.clerkstage.dev |
| Preview | https://clerk-js-sandbox-9ods6qlo9.clerkstage.dev |
| January 29, 2026 02:50 | https://github.com/clerk/javascript/pull/7317#event-22364117277 |
| View deployment | https://clerk-js-sandbox-9ods6qlo9.clerkstage.dev |
| format | https://github.com/clerk/javascript/pull/7317/commits/6c3a5bf0aa22b2e60f2bb3fae5f55146d08dc861 |
| 6c3a5bf | https://github.com/clerk/javascript/pull/7317/commits/6c3a5bf0aa22b2e60f2bb3fae5f55146d08dc861 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-85nszzdql.clerkstage.dev |
| Preview | https://clerk-js-sandbox-85nszzdql.clerkstage.dev |
| January 29, 2026 03:04 | https://github.com/clerk/javascript/pull/7317#event-22364362836 |
| View deployment | https://clerk-js-sandbox-85nszzdql.clerkstage.dev |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Jan 29, 2026 | https://github.com/clerk/javascript/pull/7317#issuecomment-3815339475 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
| Jan 29, 2026 | https://github.com/clerk/javascript/pull/7317#issuecomment-3815346677 |
| @jacekradko | https://github.com/jacekradko |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| Merge branch 'main' into feat/stale-while-revalidate-token | https://github.com/clerk/javascript/pull/7317/commits/902b8fce0be7908e8b685e0a5dfcff7e839f422d |
| 902b8fc | https://github.com/clerk/javascript/pull/7317/commits/902b8fce0be7908e8b685e0a5dfcff7e839f422d |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-kn8aorb0h.clerkstage.dev |
| Preview | https://clerk-js-sandbox-kn8aorb0h.clerkstage.dev |
| January 30, 2026 01:39 | https://github.com/clerk/javascript/pull/7317#event-22392985152 |
| View deployment | https://clerk-js-sandbox-kn8aorb0h.clerkstage.dev |
| chore: bump legacy browser bundle limit to 106KB | https://github.com/clerk/javascript/pull/7317/commits/6da6883f98ddfcec439e7c40fa4c40205bfe583a |
| 6da6883 | https://github.com/clerk/javascript/pull/7317/commits/6da6883f98ddfcec439e7c40fa4c40205bfe583a |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-f1193eufm.clerkstage.dev |
| Preview | https://clerk-js-sandbox-f1193eufm.clerkstage.dev |
| January 30, 2026 01:49 | https://github.com/clerk/javascript/pull/7317#event-22393173210 |
| View deployment | https://clerk-js-sandbox-f1193eufm.clerkstage.dev |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| Jan 30, 2026 | https://github.com/clerk/javascript/pull/7317#issuecomment-3821336053 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/clerk-cookie |
| clerk-cookie | https://github.com/clerk-cookie |
| Jan 30, 2026 | https://github.com/clerk/javascript/pull/7317#issuecomment-3821341555 |
| @jacekradko | https://github.com/jacekradko |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| 3ff86c4 | https://github.com/clerk/javascript/commit/3ff86c42a27beccaf7d0a4af398ed71c66b21dbe |
| Jan 30, 2026 | https://github.com/clerk/javascript/pull/7317#event-22395215742 |
| Please reload this page | https://github.com/clerk/javascript/pull/7317 |
| https://github.com/jacekradko |
| jacekradko | https://github.com/jacekradko |
| January 30, 2026 02:56 | https://github.com/clerk/javascript/pull/7317#event-22395217429 |
| https://github.com/thazhemadam |
| thazhemadam | https://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 |
| nikosdouvlis | https://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 |
| AKhozya | https://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 |
| wobsoriano | https://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 |
| Deployed | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |