René's URL Explorer Experiment


Title: Age freshly minted session tokens from local insert on a fast clock by umeraamir69 · Pull Request #10583 · clerk/javascript · GitHub

Open Graph Title: Age freshly minted session tokens from local insert on a fast clock by umeraamir69 · Pull Request #10583 · clerk/javascript

X Title: Age freshly minted session tokens from local insert on a fast clock by umeraamir69 · Pull Request #10583 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - Age freshly minted session tokens from local insert on a fast clock by umeraamir69 · Pull Request #10583 · clerk/javascript

Open Graph Description: Fixes #10575 #10401 ages cache entries with min(exp, createdAt + exp - iat) so a slow device clock cannot keep serving past server expiry. On a fast clock that same min() picks server exp, which is...

X Description: Fixes #10575 #10401 ages cache entries with min(exp, createdAt + exp - iat) so a slow device clock cannot keep serving past server expiry. On a fast clock that same min() picks server exp, which is...

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

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:3de90e28-2d6d-0ff2-1027-a8395dfbe0f4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4EC:18D93D:B7E37:111879:6AFAD38C
html-safe-nonceaca18107c1114869eb5756a43a39abf0e4c8239ab60b24a6f0f7ea501eb0236d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEVDOjE4RDkzRDpCN0UzNzoxMTE4Nzk6NkFGQUQzOEMiLCJ2aXNpdG9yX2lkIjoiMTYyMjkwOTk3NTQ2MTExODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac01076ecc073a558245cafff3fbc66646cdf54b0007680065be9771bb6f01eec7
hovercard-subject-tagpull_request:5125442478
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/10583/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/579f084f1e14b7022a427ff2d250c46192fb20e2271e733ba89ad1907ef07be5/clerk/javascript/pull/10583
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/579f084f1e14b7022a427ff2d250c46192fb20e2271e733ba89ad1907ef07be5/clerk/javascript/pull/10583
og:image:altFixes #10575 #10401 ages cache entries with min(exp, createdAt + exp - iat) so a slow device clock cannot keep serving past server expiry. On a fast clock that same min() picks server exp, which is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameumeraamir69
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
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
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/10583#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F10583
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%2F10583
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/10583
Reloadhttps://github.com/clerk/javascript/pull/10583
Reloadhttps://github.com/clerk/javascript/pull/10583
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-fast-clockhttps://github.com/umeraamir69/javascript/tree/fix/token-cache-fast-clock
Conversationhttps://github.com/clerk/javascript/pull/10583
Commits1 (1)https://github.com/clerk/javascript/pull/10583/commits
Checkshttps://github.com/clerk/javascript/pull/10583/checks
Files changedhttps://github.com/clerk/javascript/pull/10583/files
Age freshly minted session tokens from local insert on a fast clockhttps://github.com/clerk/javascript/pull/10583#top
umeraamir69https://github.com/umeraamir69
clerk:mainhttps://github.com/clerk/javascript/tree/main
umeraamir69:fix/token-cache-fast-clockhttps://github.com/umeraamir69/javascript/tree/fix/token-cache-fast-clock
https://github.com/umeraamir69
umeraamir69https://github.com/umeraamir69
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issue-6168627882
#10575https://github.com/clerk/javascript/issues/10575
#10401https://github.com/clerk/javascript/pull/10401
#10401https://github.com/clerk/javascript/pull/10401
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/umeraamir69
Age freshly minted session tokens from local insert on a fast clockhttps://github.com/clerk/javascript/pull/10583/commits/94c9f9e97e208f8d128dcd8bcce46cad84231455
94c9f9ehttps://github.com/clerk/javascript/pull/10583/commits/94c9f9e97e208f8d128dcd8bcce46cad84231455
clerk#10401https://github.com/clerk/javascript/pull/10401
clerk#10575https://github.com/clerk/javascript/issues/10575
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issuecomment-6585119085
@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%2294c9f9e97e208f8d128dcd8bcce46cad84231455%22%7D%2C%22id%22%3A%22QmXvaMnSZuvpANMFNfYZzhgUWyEHvi3AHNaCG5xnS6qnVY%22%2C%22org%22%3A%22clerk%22%2C%22prId%22%3A10583%2C%22repo%22%3A%22javascript%22%7D
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issuecomment-6585119138
94c9f9ehttps://github.com/clerk/javascript/commit/94c9f9e97e208f8d128dcd8bcce46cad84231455
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-fast-clock?filename=.changeset/late-zebras-deny.md&value=---%0A%22%40clerk%2Fclerk-js%22%3A%20patch%0A---%0A%0AAge%20freshly%20minted%20session%20tokens%20from%20local%20insert%20on%20a%20fast%20clock%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issuecomment-6585123668
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/10583?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
Preserve the trusted expiry when the same token is hydrated.https://github.com/clerk/javascript/pull/10583#discussion_r4446305087
https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667
Age background tokens from the start of the request.https://github.com/clerk/javascript/pull/10583#discussion_r4446305076
https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667
Update the six exact cache-write assertions.https://github.com/clerk/javascript/pull/10583#discussion_r4446305052
https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667
clerk/javascripthttps://github.com/clerk/javascript
mainhttps://github.com/clerk/javascript/tree/main
.coderabbit.yamlhttps://github.com/clerk/javascript/blob/0905976f48b5fae3b65d4ea1f1f96b7962f81b54/.coderabbit.yaml
0905976https://github.com/clerk/javascript/commit/0905976f48b5fae3b65d4ea1f1f96b7962f81b54
0905976https://github.com/clerk/javascript/commit/0905976f48b5fae3b65d4ea1f1f96b7962f81b54
94c9f9ehttps://github.com/clerk/javascript/commit/94c9f9e97e208f8d128dcd8bcce46cad84231455
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
clerk/javascript#10401https://github.com/clerk/javascript/pull/10401
clerk/javascript#10429https://github.com/clerk/javascript/pull/10429
clerk/javascript#10468https://github.com/clerk/javascript/pull/10468
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/10583
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 2, 2026 https://github.com/clerk/javascript/pull/10583#pullrequestreview-5741532822
View reviewed changes https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455
coderabbitaihttps://github.com/apps/coderabbitai
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/clerk/javascript/pull/10583#pullrequestreview-5741532822
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
coderabbitaihttps://github.com/apps/coderabbitai
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#discussion_r4446305052
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
packages/clerk-js/src/core/resources/Session.tshttps://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-03369288354caa35916da67943164d7f1d126faee5dbf43343b85f137e720653
coderabbitaihttps://github.com/apps/coderabbitai
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#discussion_r4446305076
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
packages/clerk-js/src/core/tokenCache.tshttps://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455#diff-9e349656841a544c144859c59be87a680bea9a139e4b7c01dcd6c8318bcde739
coderabbitaihttps://github.com/apps/coderabbitai
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#discussion_r4446305087
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
raw.githubusercontent.comhttps://raw.githubusercontent.com/clerk/javascript/94c9f9e97e208f8d128dcd8bcce46cad84231455/packages/clerk-js/src/core/resources/Client.ts
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issuecomment-6585669881
@umeraamir69https://github.com/umeraamir69
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#event-34944627051
https://github.com/Ephem
Ephemhttps://github.com/Ephem
Nov 2, 2026https://github.com/clerk/javascript/pull/10583#issuecomment-6586050184
@umeraamir69https://github.com/umeraamir69
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
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%2F10583
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/10583/files/94c9f9e97e208f8d128dcd8bcce46cad84231455
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
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) https://github.com/clerk/javascript/issues/10575
Please reload this pagehttps://github.com/clerk/javascript/pull/10583
https://github.com/umeraamir69
https://github.com/wobsoriano
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.