{"name":"forceLoginGatewayUrl","slug":"forcelogingatewayurl","family":"setting","title":"Settings keys","noun":"settings key","description":"Set the [gateway URL](\/docs\/en\/claude-apps-gateway#set-the-gateway-url) the login screen connects to","description_source":"docs","described_by":{"doc":"claude-code\/settings-reference","title":"All settings"},"presence":{"first_seen":"2.1.162","removed_in":"2.1.284","in_current_build":false,"newest_mined":"2.1.308","builds":104,"mined_builds":149,"first_cited":{"version":"2.1.247","released_at":"2026-08-26 18:02:01","spans":4}},"aliases":[],"entries":[{"version":"2.1.296","anchor":"gateway-login-method-now-counts-as-gateway-required","heading":"Setting forceLoginMethod to gateway now leads to the gateway login","line":"With forceLoginMethod set to \"gateway\" and no forceLoginGatewayUrl, Claude Code now treats gateway login as required","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text, named in this entry"},{"version":"2.1.284","anchor":"gateway-login-can-accept-hosts-vouched-for-by-a-recognized-c","heading":"Gateway login can accept hosts confirmed by a recognised Claude gateway","line":"Gateway hosts outside the built-in list can now be accepted if a recognised Claude gateway deployment confirms it serves them","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"gateway-host-verification-now-sends-the-session-jwt","heading":"Gateway address checks now send your login token to a verifier","line":"Rechecking a gateway address now uses a verifier that gets your session token and your organization's pinned login settings","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"claude-code-host-gateway-lineage-new-env-var-that-marks-s","heading":"CLAUDE_CODE_HOST_GATEWAY_LINEAGE : new env var that marks sessions spawned by a Claude Desktop gateway","line":"New CLAUDE_CODE_HOST_GATEWAY_LINEAGE variable keeps child processes of a Desktop-hosted gateway session treated as host-managed","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"new-managed-policy-check-for-desktop-hosted-gateways","heading":"New managed-policy check for Desktop-hosted gateways","line":"When Claude Desktop runs Claude Code through a gateway, Claude Code now checks that gateway against your organization's policy and explains failures","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.268","anchor":"managed-settings-can-restrict-a-cloud-gateway-sign-in-to-you","heading":"Managed settings can restrict a Cloud gateway sign-in to your org's public IP block","line":"Managed settings can now restrict Cloud gateway sign-in to CIDR blocks matching the org's own public IP","released_at":"2026-09-10 18:41:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.268","anchor":"new-managed-settings-key-gatewayinternalnetworks-joins-highe","heading":"New managed-settings key gatewayInternalNetworks joins highest-source-wins auth pins","line":"New managed setting gatewayInternalNetworks joins the group taken only from the top-priority settings source","released_at":"2026-09-10 18:41:11","reason":"found in this entry's text"},{"version":"2.1.265","anchor":"forcelogingatewayurl-validation-loosened-from-strict-url-to","heading":"forceLoginGatewayUrl validation loosened from strict URL to non-empty string","line":"forceLoginGatewayUrl now accepts any non-empty string instead of requiring a valid URL","released_at":"2026-09-08 19:05:16","reason":"found in this entry's text, named in this entry"},{"version":"2.1.265","anchor":"gateway-forced-login-detection-simplifiedchanged-condition","heading":"Gateway-forced-login detection simplified\/changed condition","line":"The check for whether login is forced through a gateway was simplified","released_at":"2026-09-08 19:05:16","reason":"found in this entry's text"},{"version":"2.1.247","anchor":"managed-settings-can-force-login-through-a-gateway","heading":"Managed settings can force login through a gateway","line":"Admins can force gateway login using forceLoginMethod or forceLoginGatewayUrl in managed settings.","released_at":"2026-08-26 18:02:01","reason":"named in this entry, found in this entry's text"}],"entries_total":11,"docs":[{"source":"claude-code","path":"settings-reference","title":"All settings","documented":true},{"source":"claude-code","path":"settings","title":"Claude Code settings","documented":true},{"source":"claude-code","path":"authentication","title":"Authentication","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"claude-apps-gateway","title":"Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry","documented":false},{"source":"claude-code","path":"claude-apps-gateway-config","title":"Claude apps gateway configuration","documented":false},{"source":"claude-code","path":"claude-apps-gateway-deploy","title":"Claude apps gateway deployment and operations","documented":false},{"source":"claude-code","path":"claude-apps-gateway-on-aws","title":"Deploy Claude apps gateway on AWS","documented":false},{"source":"claude-code","path":"claude-apps-gateway-on-gcp","title":"Deploy Claude apps gateway on Google Cloud","documented":false},{"source":"claude-code","path":"errors","title":"Error reference","documented":false}],"docs_total":14,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/forcelogingatewayurl","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}