Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.238 ·

OAuth refresh-token lookup goes async and skips macOS

The stored-refresh-token check now runs asynchronously and returns false straight away on macOS.

Under the hood Internal Changes
JSON All of v2.1.238
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AuthArea: what it touches
Internal ChangesKind: in v2.1.238,
Internal ChangesSection of the release
What

The check that decides whether a stored OAuth refresh token exists is now asynchronous, so it can consult state that has to be read from disk or over the network before answering. On macOS it returns false immediately without doing that work, leaving the keychain-backed path to handle credentials there.

Details
  • The check also returns false immediately when the CLAUDE_CODE_OAUTH_TOKEN environment variable is unset, and only looks for the saved token when neither the macOS nor the unset-variable condition applies.
  • Three call sites that conclude a token cannot be refreshed now await the check rather than calling it synchronously, so the resulting no_refresh outcome reflects state fetched at the time of the check.
  • On macOS the outcome is unchanged in effect: the keychain path supplies credentials, and this check contributes nothing.
Evidence

CLAUDE_CODE_OAUTH_TOKEN, no_refresh

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.238 →

Feedback