Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

SDK sign-in token refresh requests now say whether the token was refused

The oauth_token_refresh request sent to SDK hosts now says whether the old token was refused or only stale

Use it now No documentation found Improvements
JSON All of v2.1.323
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.323,
What probably matters to youSection of the release
What

The Agent SDK lets other programs run Claude Code. When Claude Code needs a fresh sign-in token, it sends the host program an oauth_token_refresh request. That request now includes token_state:

  • not_refused: the token is only stale.
  • refused: the token was rejected.

Before, the request did not say which.

Why

A host program can now tell a token that simply needs renewing from one that was turned down, and respond to each differently.

Read from
Names in the bundletoken_stateoauth_token_refresh

See this entry in the whole of v2.1.323 →

Feedback