Search the documentation
50 pages for /login.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.
Create the app registration that represents the Claude API audience.
Claude Developer Platform · in the page
manage-claude/wif-providers/azure
…dentity carries these claims: ```json { "iss": "https://login.microsoftonline.com/<TENANT_ID>/v2.0", "sub": "9f8e7d6c-1a2b-3c4d-5e6f-...", "aud": "<APP_ID>", "oid": "9…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…github-app`, and the terminal's interactive login screen, reached by `/login` or first-run onboarding, pre-selects the method without enforcing it; Claude Code verifies the organization for claude.ai…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…} type ApiKeySource = | "ANTHROPIC_API_KEY" | "apiKeyHelper" | "/login managed key" | "none" | "user" | "project" | "org" | "temporary" | "oauth"; ``` Claude Code reports one of fou…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…signs you out * `/model` sets the [dispatch model](#set-the-model) * `/login` opens the sign-in dialog so you can sign in again without attaching to a session * A bare `/resume`, or its `/continue` al…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…ax, Team, and Enterprise plans and require a session signed in with [`/login`](/docs/en/setup#authenticate). See [Availability](#availability) for the full set of requirements. </Note> An artifact is…
Authentication
Claude Code CLI · in the page
authentication
…y](/docs/en/claude-apps-gateway), sign in with corporate SSO through `/login`. The gateway-issued token is the session's only credential. Admins can direct which login method developers use and requi…
Claude Code changelog
Claude Code CLI · in the page
changelog
…eft in win32-input-mode * Fixed the recommended Console sign-in in `/login` failing with an OAuth error before showing a sign-in URL on machines where it can't be used (for example when `ANTHROPIC_A…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…am, or Enterprise) Chrome integration also requires signing in with `/login`. If you authenticate with an API key or a long-lived token from [`claude setup-token`](/docs/en/authentication#generate-a-…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…way-config#upstreams). At the end you have a gateway a developer can `/login` to. <Note> **Deploy on your private network.** Claude Code only connects to a gateway whose address is private. This is…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…r or not the gateway pushes these variables, a CLI signed in through `/login` that has OTLP/HTTP export enabled sends its exports to the gateway rather than to a locally configured endpoint, and witho…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…he IdP wasn't asked for. * **Microsoft Entra ID**: `issuer` = `https://login.microsoftonline.com/<tenant-id>/v2.0`. Entra emits group Object IDs rather than names, so use the GUIDs in `managed.policie…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…-specific. To use Microsoft Entra ID instead, set `issuer` to `https://login.microsoftonline.com/<tenant-id>/v2.0`, drop `userinfo_fallback` and the `groups` scope, and note that Entra emits group Obj…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…'t listed: it provisions a public forwarding-rule address, which the `/login` [private-network check](/docs/en/claude-apps-gateway#prerequisites) rejects. | Front end…
Use Claude Code on the web
Claude Code CLI · in the page
claude-code-on-the-web
…sh theme={null} claude --cloud "Fix the authentication bug in src/auth/login.ts" ``` This creates a new cloud session on claude.ai. The cloud VM clones your current directory's GitHub remote at your…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…e Code v2.1.198 or later; earlier versions stop with a prompt to run `/login`, which can't refresh AWS credentials. Add the command to your [settings file](/docs/en/settings), such as `~/.claude/setti…
Commands
Claude Code CLI · in the page
commands
…| | `/login` | Sign in to your Anthropic account…
Manage costs effectively
Claude Code CLI · in the page
costs
…e-credits` after signing in with your claude.ai subscription through `/login`; the command isn't available with API key authentication. What it opens depends on your role: | Your role…
Environment variables
Claude Code CLI · in the page
env-vars
…`, Claude Code selects federation credentials, which rank above your `/login` credential. See [authentication precedence](/docs/en/authentication#authentication-precedence)…
Error reference
Claude Code CLI · in the page
errors
…| | `Not logged in · Please run /login`…
Run Claude Code through a gateway
Claude Code CLI · in the page
gateways
…am. Developers sign in with your corporate identity provider through `/login`, the gateway enforces model access and [managed settings](/docs/en/managed-settings) by IdP group, and it emits [OpenTelem…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…resource name. Claude Code builds the endpoint URL from it. The `azure/login` step signs in with the workflow's OIDC token, and Claude Code picks up the credentials through the Azure [default credenti…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…Web sessions require a Team or Enterprise organization. Sign in with `/login` using your organization account. If you authenticate with an API key instead, web sessions fail earlier with a message ask…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…for Google Cloud's Agent Platform. If you're already signed in, run `/login` to open the same menu. </Step> <Step title="Follow the wizard prompts"> Choose how you authenticate to Google Clo…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…. Built-in commands that only run in the terminal interface, such as `/login`, aren't available in `-p` mode. `/model`, `/effort`, `/fast`, `/color`, and `/rename` accept the value as an argument, for…
Hooks reference
Claude Code CLI · in the page
hooks
…rent branch: feat/auth-refactor\nUncommitted changes: src/auth.ts, src/login.tsx\nActive issue: #4211 Migrate to OAuth2", "sessionTitle": "auth-refactor" } } ``` Since plain stdout already reac…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…sion. * **The conversation changes hands**: you switch accounts with `/login`, clear or rewind the conversation, `/resume` another session, pull one with `/teleport`, relaunch with `/tui`, or hand the…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…naged-settings#platform-availability), or signs in to a gateway with `/login`. On other providers, or when `ANTHROPIC_BASE_URL` points somewhere other than Anthropic's API, it starts at the next sourc…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…i subscription login. They aren't loaded, even if you previously ran `/login`, when: * `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` is active * A third-party provider such as Amazon…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…tion originates from the SDK or bridge #### Auth event Logged when `/login` or `/logout` completes. **Event Name**: `claude_code.auth` **Attributes**: * All [standard attributes](#standard-attrib…
Quickstart
Claude Code CLI · in the page
quickstart
…e the key instead. To switch accounts later or re-authenticate, type `/login` inside the running session: ```text wrap theme={null} /login ``` You can log in using any of these account types: * [Cl…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…in-settings/claude-code). * **Authentication**: run `claude` and use `/login` to sign in through claude.ai if you haven't already. Without an eligible login, `claude remote-control` exits with an erro…
Automate work with routines
Claude Code CLI · in the page
routines
…red claude.ai login. API accounts aren't supported for routines. Run `/login`, sign in with your claude.ai account, then run `/schedule` again. <h3 id="routines-are-disabled-by-your-organizations-pol…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…credential the settings fetch uses: * **A claude.ai login saved by `/login` or `claude auth login`**: one approval per organization, held by the account that approved most recently. * **Any other cr…
Claude Code settings
Claude Code CLI · in the page
settings
…GatewayUrl` | Pre-fills and locks the gateway URL on the `/login` Cloud gateway screen. Either this key or `forceLoginMethod: "gateway"` surfaces that screen; set both so the URL is filled…
Extend Claude with skills
Claude Code CLI · in the page
skills
…ill reserves the name of every other terminal-only built-in, such as `/login`, even though the command can't run in those sessions. In those sessions Claude Code also skips a synced skill named `help`…
Tools reference
Claude Code CLI · in the page
tools-reference
…l-public-sharing). Requires a Pro, Max, Team, or Enterprise plan and `/login` authentication; see [Availability](/docs/en/artifacts#availability)…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…og in again after a session, your OAuth token may have expired. Run `/login` to re-authenticate. If this happens frequently, check that your system clock is accurate, as token validation depends on c…
Find bugs with ultrareview
Claude Code CLI · in the page
ultrareview
…e web infrastructure. If you are signed in with an API key only, run `/login` and authenticate with claude.ai first. Ultrareview is not available when using Claude Code with Amazon Bedrock, Google Clo…
Voice dictation
Claude Code CLI · in the page
voice-dictation
…you are authenticated with an API key or a third-party provider. Run `/login` to sign in with a Claude.ai account. * **`Voice mode is disabled by your organization's policy`**: an administrator policy…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…ization in your browser. If you see **Not logged in · Please run /login** later, the extension reopens the sign-in screen automatically. If it doesn't appear, reload the window from the Command P…
Get started with Claude Code on the web
Claude Code CLI · in the page
web-quickstart
…<Step title="Sign in to Claude"> In the Claude Code CLI, run `/login` to sign in with your claude.ai account. Skip this step if you're already signed in with a claude.ai account. Authenticatin…
Week 21 · May 18–22, 2026
Claude Code CLI · in the page
whats-new/2026-w21
…nd requires signing in with your claude.ai subscription through <code>/login</code> and isn't available with API key authentication.</div> <div>New <a href="/docs/docs/en/code-review"><code>/code-…
Week 28 · July 6–10, 2026
Claude Code CLI · in the page
whats-new/2026-w28
…mote in addition to <code>origin</code></div> <div>Gateway: <code>/login</code> now supports Anthropic-operated public gateway endpoints</div> <div><code>EnterWorktree</code> asks for confirma…
Use Claude for Outlook
Claude Documentation · in the page
office-agents/outlook
…er where they are signed in to your Microsoft 365 tenant. ``` https://login.microsoftonline.com/organizations/v2.0/adminconsent?client_id=c2995f31-11e7-4882-b7a7-ef9def0a0266&scope=https://graph.micr…
Deploy with a bootstrap server
Claude Documentation · in the page
third-party/claude-desktop/bootstrap
…ess.env.CLIENT_ID; const JWKS = createRemoteJWKSet( new URL(`https://login.microsoftonline.com/${TENANT}/discovery/v2.0/keys`), ); const BASE = { inferenceProvider: "gateway", inferenceGatewayB…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…t Entra ID** — the `issuer` on `inferenceGatewayOidc` must be `https://login.microsoftonline.com/{tenant-id}/v2.0`. The broker satisfies Conditional Access policies that require a compliant/managed de…
Connect to Microsoft 365
Claude Documentation · in the page
third-party/claude-desktop/connectors-m365
…Entra admin center → Overview**. ```text theme={null} https://login.microsoftonline.com/YOUR_TENANT_ID/adminconsent?client_id=07c030f6-5743-41b7-ba00-0a6e85f37c17 ``` The consent scr…
Sign in through the OS identity broker
Claude Documentation · in the page
third-party/claude-desktop/entra-broker
…wayOidc` or `inferenceVertexWorkforceOidc` must have the form `https://login.microsoftonline.com/TENANT_ID/v2.0`. For a managed MCP server, the `oauth` object must also set `tenantId`, `clientId`, and…
Deploy Claude Desktop on 3P with an LLM gateway
Claude Documentation · in the page
third-party/claude-desktop/gateway
…neral_settings: litellm_jwtauth: public_key_url: https://login.microsoftonline.com/YOUR_TENANT_ID/discovery/v2.0/keys audience: YOUR_CLIENT_ID user_id_jwt_field: oid…
Deploy Claude Desktop on 3P with Google Cloud's Agent Platform
Claude Documentation · in the page
third-party/claude-desktop/vertex
…. The `issuer` in `inferenceVertexWorkforceOidc` must then be `https://login.microsoftonline.com/TENANT_ID/v2.0`, and no loopback redirect URI is needed. The token exchange at `sts.googleapis.com` is…