Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Setting forceLoginMethod to gateway now leads to the gateway login

With forceLoginMethod set to "gateway" and no forceLoginGatewayUrl, Claude Code now treats gateway login as required

Use it now Improvements
JSON All of v2.1.296
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GatewayArea: what it touches
ImprovementsKind: in v2.1.296,
What probably matters to youSection of the release
What

Claude Code now treats logging in through a gateway as required when forceLoginMethod is set to "gateway" and forceLoginGatewayUrl is not set. A gateway is a server your organization runs that you log in through. Before, only a condition tied to policyHelper, a setting that runs a program to compute managed settings, led to this.

Why

If your managed settings (the ones an administrator controls) set forceLoginMethod to "gateway" without giving a gateway address, you now get the gateway login flow.

Read from
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 apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry touched a line naming forceLoginMethod after this was published. There is no service-token flow for unattended pipelines. Gateway sign-in always runs the browser device flow, so a CI job with no developer to approve the sign-in can't authenticate; configure those against your provider directly. Deploy `… claude-apps-gateway see the edit
Added since A small documentation edit on Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry touched a line naming forceLoginGatewayUrl after this was published. There is no service-token flow for unattended pipelines. Gateway sign-in always runs the browser device flow, so a CI job with no developer to approve the sign-in can't authenticate; configure those against your provider directly. Deploy `… claude-apps-gateway see the edit
Confirmed since Anthropic's documentation has since written up forceLoginGatewayUrl, on Claude Code changelog. * Changed Claude Desktop's Code tab to apply managed settings when `forceLoginGatewayUrl` names an Anthropic-operated gateway that serves the session's hostname; that gateway must be reachable at start changelog see the edit
Confirmed since Anthropic's documentation has since written up forceLoginMethod, on Claude Code changelog. * Fixed `forceLoginOrgUUID` and `forceLoginMethod` from MDM or the managed-settings file being hidden or replaced by server-managed settings 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 forceLoginMethod, on Claude Code changelog.
Anthropic's release notes agreeFixed a saved Claude apps gateway sign-in being ignored on machines whose managed settings set forceLoginMethod to gateway with no…

See this entry in the whole of v2.1.296 →

Feedback