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.301 ·

CLAUDE_CODE_OAUTH_TOKEN is now read through a helper in the token refresh check

The token-refresh check now reads CLAUDE_CODE_OAUTH_TOKEN through a helper instead of directly from the environment

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

Unclear It is not known whether the helper changes the value Claude Code ends up using.

What

Claude Code checks whether it should refresh your login token when CLAUDE_CODE_OAUTH_TOKEN is set. That check now reads the variable through a helper instead of straight from the environment.

Why

This could change how the token is found during that check.

Read from
Names in the bundleCLAUDE_CODE_OAUTH_TOKEN
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on Automate actions with hooks. If your machine has no [managed settings](/docs/en/settings#check-what-your-organization-enforces) and your session doesn't use [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan, a [mod… hooks-guide see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not known whether the helper changes the value Claude Code ends up using.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on Automate actions with hooks.

See this entry in the whole of v2.1.301 →

Feedback