Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

A failed sign-in refresh no longer signs out a newer sign-in

When a sign-in refresh fails with invalid_grant, Claude Code now clears sign-in state only if you have not signed in again meanwhile

You'll notice Bug Fixes
JSON All of v2.1.337
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AuthArea: what it touches
Bug FixesKind: in v2.1.337,
Bug FixesSection of the release
What

With the hybrid gateway sign-in, Claude Code renews your sign-in in the background through your identity provider. An identity provider is the service your organisation uses to log you in. That renewal can fail with an invalid_grant error, which means the stored credential is no longer accepted.

On that error, Claude Code used to always clear your sign-in. Now it first records the used-up credential. It then clears your sign-in only if you are still in the same session as when the renewal started. A session here means your current signed-in state. You are still asked to sign in again.

Why

Before, if you signed in again while a renewal was failing, the failure could wipe out your fresh sign-in and log you straight back out.

See this entry in the whole of v2.1.337 →

Feedback