Follow Discord
Sweep 29 Sep 2026 · 18:10Z Build v2.1.285 506 read Stable v2.1.280 Latest v2.1.285 Next v2.1.285 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.265 ·

Gateway-forced login detection and validation simplified

Gateway login logic was simplified: looser URL validation and a more direct check for when login is forced through the gateway

Group of 4 You'll notice Internal Changes
JSON All of v2.1.265
You'll noticeTier: 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.265,
ImprovementsSection of the release

What

  • The forceLoginGatewayUrl CLI option now accepts any non-empty string rather than requiring a syntactically valid URL.
  • The check for whether login is gateway-forced was simplified to: the login method is "gateway", or a gateway URL is set — replacing a more convoluted prior condition.
  • The forced-login-method resolution for the login flow now short-circuits to "gateway" whenever the session is already in gateway auth mode, rather than only special-casing an explicit managed-setting value.
  • The gateway auth backend's API key check now short-circuits to reporting the key as "missing" first when in gateway mode without the expected check passing, instead of falling through to the normal API-key-helper/environment-variable lookup.

Why These changes make gateway-forced login detection more consistent and predictable across the CLI, reducing edge cases where login mode or API key status could be determined by a stricter or more roundabout check than intended.

Read from
Names in the bundleapiKeyHelper
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 Week 20 · May 11–15, 2026 touched a line naming apiKeyHelper after this was published. <div>Remote Control, <code>/schedule</code>, claude.ai MCP connectors, and notification preferences are now disabled when <code>ANTHROPIC\_API\_KEY</code>, <code>apiKeyHelper</code>, or <code>ANTHROPIC\_AUTH\_TOKEN</code> is set, even alon… whats-new/2026-w20 see the edit
Confirmed since Anthropic's documentation has since written up apiKeyHelper, on Automate work with routines. * You are authenticated with a Console API key, an [Anthropic profile or federation credential](/docs/en/authentication#anthropic-profiles-and-federation-credentials), or a cloud provider such as Amazon Bedrock, Google Cloud's Agent Platfo… routines 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 doubtthe finding doesn't say what `Ao()` represents, so the exact condition that triggers the short-circuit isn't named
Anthropic's documentation agreesAnthropic's documentation has since written up apiKeyHelper, on Automate work with routines.

See this entry in the whole of v2.1.265 →

Feedback