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.