{"version":"2.1.266","anchor":"claude-code-use-gateway-no-longer-selects-gateway-auth-mode","canonical_anchor":"claude-code-use-gateway-no-longer-selects-gateway-auth-mode","heading":"CLAUDE_CODE_USE_GATEWAY no longer selects gateway auth mode directly","tier":"notice","area":"Cloud Gateway","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.266\/e\/claude-code-use-gateway-no-longer-selects-gateway-auth-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.266","markdown":"### CLAUDE_CODE_USE_GATEWAY no longer selects gateway auth mode directly\n\nSetting CLAUDE_CODE_USE_GATEWAY alone no longer switches Claude Code into gateway auth mode\n\n**Unclear.** the finding doesn't say what, if anything, now determines gateway mode instead, or whether another condition must accompany this variable\n\n**What**\n\nClaude Code picks an authentication provider internally, such as `bedrock`, `vertex`, `mantle`, `firstParty` or `gateway`. Previously, if none of the other provider settings matched, having the `CLAUDE_CODE_USE_GATEWAY` environment variable set was enough on its own to fall back to `gateway` mode. That fallback branch has been removed.\n\n**Why**\n\nSetting `CLAUDE_CODE_USE_GATEWAY` by itself will no longer cause Claude Code to use the Cloud gateway; anyone relying on that variable alone to select gateway mode should check what else is now required.\n\n- Area: Cloud Gateway\n- Names: `CLAUDE_CODE_USE_GATEWAY`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5"}