Search the documentation
19 pages for forceloginmethod.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…| | [Login enforcement](/docs/en/settings-reference#forceloginmethod) | Restrict login to a specific method or Anthropic organization. The method restrictio…
Authentication
Claude Code CLI · in the page
authentication
…' claude.ai logins belong to a specific Anthropic organization, set [`forceLoginMethod`](/docs/en/settings-reference#forceloginmethod) and [`forceLoginOrgUUID`](/docs/en/settings-reference#forcelogino…
Claude Code changelog
Claude Code CLI · in the page
changelog
…e parent session's permission mode by default * Changed Enterprise `forceLoginMethod` to be enforced for VS Code extension, SDK, `setup-token`, and `install-github-app` logins, not just the terminal…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…This last step happens on a developer machine, not the server. Set `forceLoginMethod` to `"gateway"` and `forceLoginGatewayUrl` to your gateway's `public_url` in that machine's [managed settings fil…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…each developer's `/login` to your gateway: ```json theme={null} { "forceLoginMethod": "gateway", "forceLoginGatewayUrl": "https://claude-gateway.internal.example.com", "parentSettingsBehavior":…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…gateway URL to developer machines Once the gateway is serving, push `forceLoginMethod`, `forceLoginGatewayUrl`, and `parentSettingsBehavior: "merge"` to each developer's machine through managed setti…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…ach it from `/login` until the gateway URL is on their machines. Set `forceLoginMethod` and `forceLoginGatewayUrl` in the [managed settings file](/docs/en/claude-apps-gateway#set-the-gateway-url) you…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…ngs snippet](/docs/en/claude-apps-gateway#set-the-gateway-url), with `forceLoginMethod`, `forceLoginGatewayUrl`, and the `parentSettingsBehavior: "merge"` opt-in, to each device via MDM. There is no g…
Error reference
Claude Code CLI · in the page
errors
…file, MDM policy, or policy helper](/docs/en/managed-settings) sets [`forceLoginMethod`](/docs/en/settings-reference#forceloginmethod) to `"gateway"`, or sets [`forceLoginGatewayUrl`](/docs/en/setting…
Run Claude Code through a gateway
Claude Code CLI · in the page
gateways
…re a managed settings file, an MDM profile, or a policy helper sets [`forceLoginMethod: "gateway"`](/docs/en/claude-apps-gateway-config#client-side-managed-settings), it turns them off from startup, b…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…ile, or policy helper on your machine requires gateway sign-in with [`forceLoginMethod: "gateway"`](/docs/en/settings-reference#forceloginmethod), even before you sign in * You set [`CLAUDE_CODE_DISAB…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…| Managed settings include `forceLoginMethod` or `forceLoginOrgUUID`, which cannot coexist with `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper`…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…e process environment and lower-precedence settings. Do not include `forceLoginMethod` or `forceLoginOrgUUID` in managed settings alongside a gateway credential. Either key, with any value, blocks `A…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…ttings-reference#forcelogingatewayurl) and the `"gateway"` value of [`forceLoginMethod`](/docs/en/settings-reference#forceloginmethod) A managed settings file, an MDM profile, or the claude.ai consol…
How Claude remembers your project
Claude Code CLI · in the page
memory
…| Login method and organization restrictions | Managed settings: `forceLoginMethod`, `forceLoginOrgUUID` | | Code style and quality guidelines | Managed CLAUDE.md…
Claude Code settings
Claude Code CLI · in the page
settings
…: "https://issues.example.com/browse/{key}", "label": "{key}"}]` | | `forceLoginMethod` | Use `claudeai` to restrict login to claude.ai accounts, `console` to restrict login to Claude…
Example settings files
Claude Code CLI · in the page
settings-example
…equirements and set your own values. The example sets these keys: * `forceLoginMethod` and `forceLoginOrgUUID` pin the login method and organization * `availableModels` and `enforceAvailableModels` r…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Authentication and providers | Managed | | [`forceLoginMethod`](#forceloginmethod) | [Restrict login](/docs/en/authenti…
Zero data retention
Claude Code CLI · in the page
zero-data-retention
…lopers' claude.ai logins belong to your ZDR organization, deploy the `forceLoginMethod` and `forceLoginOrgUUID` managed settings; see [Restrict login to your organization](/docs/en/authentication#rest…