| 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:73ab5a82-66c2-018b-649b-a4959c0accd5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D484:F0723:3A6FC1C:4F0B744:6AFAD230 |
| html-safe-nonce | 13add868684b4aa77ad4d6e05375bf897cad8a17837112567eb96ae516f1d493 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDg0OkYwNzIzOjNBNkZDMUM6NEYwQjc0NDo2QUZBRDIzMCIsInZpc2l0b3JfaWQiOiI0NjM0NjgwNjUyMzU0NzM2Njg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6268b4cb90bf5dd137b3def910ae001690c0d569e6ea4a5503583f6c9a2b8da5 |
| hovercard-subject-tag | pull_request:4969515695 |
| 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/10361/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/74b7bd164978957e6a0c61a9ab79f0d05cc37def3d16c4ce84261b47efae8450/clerk/javascript/pull/10361 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74b7bd164978957e6a0c61a9ab79f0d05cc37def3d16c4ce84261b47efae8450/clerk/javascript/pull/10361 |
| og:image:alt | Fixes #10185
SessionTokenCache.get() computed remaining TTL as (exp - iat) - (deviceNow - iat). That compares server iat with the device clock, so a client running behind kept returning a session t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | umeraamir69 |
| 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/10361#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10361 |
| 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%2F10361 |
| 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/10361 |
| Reload | https://github.com/clerk/javascript/pull/10361 |
| Reload | https://github.com/clerk/javascript/pull/10361 |
| 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 |
| umeraamir69 | https://github.com/umeraamir69 |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| umeraamir69:fix/token-cache-device-clock | https://github.com/umeraamir69/javascript/tree/fix/token-cache-device-clock |
| Conversation | https://github.com/clerk/javascript/pull/10361 |
| Commits1 (1) | https://github.com/clerk/javascript/pull/10361/commits |
| Checks | https://github.com/clerk/javascript/pull/10361/checks |
| Files changed | https://github.com/clerk/javascript/pull/10361/files |
| Measure SessionTokenCache age on the device clock | https://github.com/clerk/javascript/pull/10361#top |
| umeraamir69 | https://github.com/umeraamir69 |
| clerk:main | https://github.com/clerk/javascript/tree/main |
| umeraamir69:fix/token-cache-device-clock | https://github.com/umeraamir69/javascript/tree/fix/token-cache-device-clock |
|
| https://github.com/umeraamir69 |
| umeraamir69 | https://github.com/umeraamir69 |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#issue-5981883489 |
| #10185 | https://github.com/clerk/javascript/issues/10185 |
| #672 | https://github.com/clerk/javascript/pull/672 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
|
| https://github.com/umeraamir69 |
| Measure SessionTokenCache age on the device clock. | https://github.com/clerk/javascript/pull/10361/commits/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| d525c64 | https://github.com/clerk/javascript/pull/10361/commits/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#issuecomment-6343972642 |
| d525c64 | https://github.com/clerk/javascript/commit/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| Click here to learn what changesets are | https://changesets.dev/faq |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/umeraamir69/javascript/new/fix/token-cache-device-clock?filename=.changeset/early-cameras-fly.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0AMeasure%20SessionTokenCache%20age%20on%20the%20device%20clock%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#issuecomment-6343973658 |
| @umeraamir69 | https://github.com/umeraamir69 |
| Vercel | https://vercel.com |
| authorize it | https://vercel.com/git/authorize?team=Clerk%20Production&slug=clerk-production&teamId=team_WkGqQVj7eL8Pmap8W5wWH515&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22d525c64ab151a6293ea8b1536a28d6687d60e3e1%22%7D%2C%22id%22%3A%22QmNozcXgz5wqe7H3e7kKvy4ZNJNeKH8bJqKruHQybXuUBV%22%2C%22org%22%3A%22clerk%22%2C%22prId%22%3A10361%2C%22repo%22%3A%22javascript%22%7D |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#issuecomment-6343977396 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://app.coderabbit.ai/change-stack/clerk/javascript/pull/10361?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Oct 22, 2026
| https://github.com/clerk/javascript/pull/10361#pullrequestreview-5616399306 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/clerk/javascript/pull/10361#pullrequestreview-5616399306 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| clerk/javascript | https://github.com/clerk/javascript |
| main | https://github.com/clerk/javascript/tree/main |
| .coderabbit.yaml | https://github.com/clerk/javascript/blob/141916c20d54077a2c352502e6021022dde226b5/.coderabbit.yaml |
| 141916c | https://github.com/clerk/javascript/commit/141916c20d54077a2c352502e6021022dde226b5 |
| 141916c | https://github.com/clerk/javascript/commit/141916c20d54077a2c352502e6021022dde226b5 |
| d525c64 | https://github.com/clerk/javascript/commit/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| clerk/clerk_go | https://github.com/clerk/clerk_go |
| clerk/dashboard | https://github.com/clerk/dashboard |
| clerk/accounts | https://github.com/clerk/accounts |
| clerk/backoffice | https://github.com/clerk/backoffice |
| clerk/clerk | https://github.com/clerk/clerk |
| clerk/clerk-docs | https://github.com/clerk/clerk-docs |
| clerk/cloudflare-workers | https://github.com/clerk/cloudflare-workers |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#discussion_r4350028059 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| packages/clerk-js/src/core/tokenCache.ts | https://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Oct 22, 2026 | https://github.com/clerk/javascript/pull/10361#discussion_r4350028078 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
|
Oct 23, 2026
| https://github.com/clerk/javascript/pull/10361#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 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Oct 27, 2026 | https://github.com/clerk/javascript/pull/10361#issuecomment-6452098061 |
| #10401 | https://github.com/clerk/javascript/pull/10401 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
| https://github.com/wobsoriano |
| wobsoriano | https://github.com/wobsoriano |
| Oct 27, 2026 | https://github.com/clerk/javascript/pull/10361#event-34406492228 |
| https://github.com/antwoen |
| antwoen | https://github.com/antwoen |
|
Nov 2, 2026
| https://github.com/clerk/javascript/pull/10361#ref-issue-6164474808 |
|
Session token cache drops every token when the device clock runs fast, so the poller mints a token every 1.5 s (fast-clock side of #10401)
#10575
| https://github.com/clerk/javascript/issues/10575 |
| 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%2F10361 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
|
clerk-js: SessionTokenCache serves server-expired session tokens when the device clock runs behind (regression of #672)
| https://github.com/clerk/javascript/issues/10185 |
| Please reload this page | https://github.com/clerk/javascript/pull/10361 |
|
| https://github.com/umeraamir69 |
|
| https://github.com/wobsoriano |
|
| 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 |