René's URL Explorer Experiment


Title: Measure SessionTokenCache age on the device clock by umeraamir69 · Pull Request #10361 · clerk/javascript · GitHub

Open Graph Title: Measure SessionTokenCache age on the device clock by umeraamir69 · Pull Request #10361 · clerk/javascript

X Title: Measure SessionTokenCache age on the device clock by umeraamir69 · Pull Request #10361 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - Measure SessionTokenCache age on the device clock by umeraamir69 · Pull Request #10361 · clerk/javascript

Open Graph Description: 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...

X Description: 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...

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

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:73ab5a82-66c2-018b-649b-a4959c0accd5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD484:F0723:3A6FC1C:4F0B744:6AFAD230
html-safe-nonce13add868684b4aa77ad4d6e05375bf897cad8a17837112567eb96ae516f1d493
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDg0OkYwNzIzOjNBNkZDMUM6NEYwQjc0NDo2QUZBRDIzMCIsInZpc2l0b3JfaWQiOiI0NjM0NjgwNjUyMzU0NzM2Njg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6268b4cb90bf5dd137b3def910ae001690c0d569e6ea4a5503583f6c9a2b8da5
hovercard-subject-tagpull_request:4969515695
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/10361/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/74b7bd164978957e6a0c61a9ab79f0d05cc37def3d16c4ce84261b47efae8450/clerk/javascript/pull/10361
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74b7bd164978957e6a0c61a9ab79f0d05cc37def3d16c4ce84261b47efae8450/clerk/javascript/pull/10361
og:image:altFixes #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameumeraamir69
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/10361#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10361
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%2F10361
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/10361
Reloadhttps://github.com/clerk/javascript/pull/10361
Reloadhttps://github.com/clerk/javascript/pull/10361
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
umeraamir69https://github.com/umeraamir69
clerk:mainhttps://github.com/clerk/javascript/tree/main
umeraamir69:fix/token-cache-device-clockhttps://github.com/umeraamir69/javascript/tree/fix/token-cache-device-clock
Conversationhttps://github.com/clerk/javascript/pull/10361
Commits1 (1)https://github.com/clerk/javascript/pull/10361/commits
Checkshttps://github.com/clerk/javascript/pull/10361/checks
Files changedhttps://github.com/clerk/javascript/pull/10361/files
Measure SessionTokenCache age on the device clockhttps://github.com/clerk/javascript/pull/10361#top
umeraamir69https://github.com/umeraamir69
clerk:mainhttps://github.com/clerk/javascript/tree/main
umeraamir69:fix/token-cache-device-clockhttps://github.com/umeraamir69/javascript/tree/fix/token-cache-device-clock
https://github.com/umeraamir69
umeraamir69https://github.com/umeraamir69
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#issue-5981883489
#10185https://github.com/clerk/javascript/issues/10185
#672https://github.com/clerk/javascript/pull/672
Please reload this pagehttps://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
d525c64https://github.com/clerk/javascript/pull/10361/commits/d525c64ab151a6293ea8b1536a28d6687d60e3e1
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#issuecomment-6343972642
d525c64https://github.com/clerk/javascript/commit/d525c64ab151a6293ea8b1536a28d6687d60e3e1
Click here to learn what changesets arehttps://changesets.dev/faq
Click here if you're a maintainer who wants to add another changeset to this PRhttps://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 pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#issuecomment-6343973658
@umeraamir69https://github.com/umeraamir69
Vercelhttps://vercel.com
authorize ithttps://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 pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#issuecomment-6343977396
Please reload this pagehttps://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 pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/apps/coderabbitai
coderabbitaihttps://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
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/10361#pullrequestreview-5616399306
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
clerk/javascripthttps://github.com/clerk/javascript
mainhttps://github.com/clerk/javascript/tree/main
.coderabbit.yamlhttps://github.com/clerk/javascript/blob/141916c20d54077a2c352502e6021022dde226b5/.coderabbit.yaml
141916chttps://github.com/clerk/javascript/commit/141916c20d54077a2c352502e6021022dde226b5
141916chttps://github.com/clerk/javascript/commit/141916c20d54077a2c352502e6021022dde226b5
d525c64https://github.com/clerk/javascript/commit/d525c64ab151a6293ea8b1536a28d6687d60e3e1
clerk/clerk_gohttps://github.com/clerk/clerk_go
clerk/dashboardhttps://github.com/clerk/dashboard
clerk/accountshttps://github.com/clerk/accounts
clerk/backofficehttps://github.com/clerk/backoffice
clerk/clerkhttps://github.com/clerk/clerk
clerk/clerk-docshttps://github.com/clerk/clerk-docs
clerk/cloudflare-workershttps://github.com/clerk/cloudflare-workers
Please reload this pagehttps://github.com/clerk/javascript/pull/10361
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
coderabbitaihttps://github.com/apps/coderabbitai
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#discussion_r4350028059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/10361
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/10361/files/d525c64ab151a6293ea8b1536a28d6687d60e3e1#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
coderabbitaihttps://github.com/apps/coderabbitai
Oct 22, 2026https://github.com/clerk/javascript/pull/10361#discussion_r4350028078
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/wobsoriano
wobsorianohttps://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
wobsorianohttps://github.com/wobsoriano
Oct 27, 2026https://github.com/clerk/javascript/pull/10361#issuecomment-6452098061
#10401https://github.com/clerk/javascript/pull/10401
Please reload this pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Oct 27, 2026https://github.com/clerk/javascript/pull/10361#event-34406492228
https://github.com/antwoen
antwoenhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/clerk/javascript/pull/10361
https://github.com/umeraamir69
https://github.com/wobsoriano
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.