Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

CLI login OAuth-failure output gains a conditional extra newline

Login failures over OAuth may now print an extra blank line before the error

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaAuthwhat it touches
KindBug Fixesin v2.1.268,
You'll notice

Login failures over OAuth may now print an extra blank line before the error

What

When /login fails during the OAuth (the sign-in protocol Claude Code uses to authenticate with your Anthropic account) step, Claude Code now checks a condition before printing the "Login failed" message to the terminal's error output, and if it's met, writes an extra blank line first. The internal error-classification helpers used here were also renamed.

Why

This is a small formatting fix intended to make failed-login output easier to read in the cases where the extra line is triggered.

Read from
Names in the bundle/login
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.

Added since A small documentation edit on Claude Code on Claude Platform on AWS touched a line naming /login after this was published. The `/login` and `/logout` commands don't sign you into a claude.ai subscription for Claude Platform on AWS. Authentication runs through your AWS credentials or workspace API key. claude-platform-on-aws see the edit
Confirmed since Anthropic's documentation has since written up /login, on Error reference. | `Not logged in · Please run /login` | [Authentication](#not-logged-in) | errors 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 doubtWhat condition triggers the extra newline, and which login failure cases it affects, is not specified.
Anthropic's documentation agreesAnthropic's documentation has since written up /login, on Error reference.
Anthropic's release notes agreeAdded the gatewayInternalNetworks managed setting, letting administrators allow /login to a Claude apps gateway on their organization's own…

See this entry in the whole of v2.1.268 →

Feedback