{"version":"2.1.336","anchor":"oauth-token-refresh-is-skipped-at-exit","canonical_anchor":"oauth-token-refresh-is-skipped-at-exit","heading":"Sign-in token refresh is no longer started while Claude Code is exiting","tier":"notice","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/oauth-token-refresh-is-skipped-at-exit","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Sign-in token refresh is no longer started while Claude Code is exiting\n\nIf Claude Code is shutting down, it now skips refreshing your sign-in token instead of starting a refresh it cannot finish\n\n**What**\n\nClaude Code keeps you signed in with a token, a short-lived pass that it renews from time to time. Before renewing it, Claude Code now checks whether the renewal request can still be sent. If the program is already shutting down and the request cannot go out, it records that and stops without attempting the refresh.\n\n**Why**\n\nA refresh started at the moment Claude Code exits cannot complete. Skipping it avoids a half-finished sign-in step during shutdown.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}