Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Login fails loudly when credentials can't be saved (e.g. locked macOS keychain)

Login now shows an error when your credentials can't be saved, for example because the macOS keychain is locked

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

When you log in, Claude Code saves your login details in your system's secure storage. On macOS that is the keychain. If Claude Code cannot read that storage and so skips saving, and CLAUDE_CODE_OAUTH_TOKEN is not set as a fallback, login now stops with an error. On a Mac the message reads: "Couldn't save your login. If your Mac's keychain is locked, unlock it and log in again."

Why

You now find out straight away that your login was not saved and how to fix it, instead of seeming to log in without it being kept.

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 Authentication. export CLAUDE_CODE_OAUTH_TOKEN=your-token authentication see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_OAUTH_TOKEN, on Authentication.

See this entry in the whole of v2.1.281 →

Feedback