mirror of
https://github.com/cline/cline.git
synced 2026-10-30 18:12:49 +08:00
getAuthToken captured expiresAt before refreshing, then validated the new token against that stale value. When the old token was already past expiry (not just inside the 5-minute buffer), a successful refresh was thrown away and null returned, so the first call after long idle failed despite valid credentials. Re-read the expiry from the refreshed auth info.