Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Clearer managed-settings gateway sign-in error message

Gateway sign-in error now explains itself in plain language instead of naming the internal forceLoginMethod setting

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaAuthwhat it touches
KindImprovementsin v2.1.265,
You'll notice

Gateway sign-in error now explains itself in plain language instead of naming the internal forceLoginMethod setting

What

When a machine's managed settings (an admin-controlled settings file) require signing in through a cloud gateway, Claude Code used to show the raw internal error "forceLoginMethod is 'gateway' in managed settings". It now shows a plain-language message instead: managed settings on this machine configure a cloud gateway sign-in, and the user should run /login from an interactive terminal to authenticate. This applies both to the CLI's login-validation path and to a separate stderr early-exit path.

Why

The old message exposed an internal setting name that meant nothing to most users. The new wording tells people what's actually happening and what to do about it.

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 Claude Code changelog. * Added the `gatewayInternalNetworks` managed setting, letting administrators allow `/login` to a Claude apps gateway on their organization's own public IPv4 block changelog see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up /login, on Claude Code changelog.
Anthropic's release notes agreeFixed /login showing "no gateway URL is configured" when re-run in a session that signed in to a Claude apps gateway set by managed settings

See this entry in the whole of v2.1.265 →