Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

66 pages for /login.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

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 …ode). `/effort` and `/fast` require Claude Code v2.1.299 or later. * `/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. An [artifact](https://… 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 …ies once on the previous Fable model * Fixed a misleading "Please run /login" error when a full disk keeps the login from being refreshed; the error now names the disk and says to delete files * Fixed… Use Claude Code with Chrome Claude Code CLI · in the page chrome …Eligible Services. 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 …-config.md#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. Th… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …nant with a certificate: ```yaml theme={null} oidc: issuer: https://login.microsoftonline.com/<tenant-id>/v2.0 client_id: <application-id> token_endpoint_auth_method: private_key_jwt client_a… 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 | `trusted_proxies` | | - | - |… Use Claude Code in the cloud 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 …el until the login completes. With `awsAuthRefresh` configured, run `/login`, select **3rd-party platform**, then select **Claude Platform on AWS · refresh credentials** under **Using 3rd-party platf… Commands Claude Code CLI · in the page commands …| | `/login` | Sign in to your Anth… 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. In self-serve Enterprise organizations, Enterprise trials, and E… 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 …[Usage limits](#spend-limit-reached) | | `Not logged in · Please run /login` | [Authentication](#not-logged-in) | | `Couldn't save your login` | [Authentication](#couldnt-save-your-login) | | `Authen… 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.md) by IdP group, and it emits [OpenTe… 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 …'t read a claude.ai organization from your credentials. Sign in with `/login` using an account in your Team or Enterprise organization, since GitHub Enterprise Server support is limited to those plans… 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. **3. Follow the wizard prompts** Choose how you authenticate to Google Cloud: Application Default… 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. > * `/model`, `/effort`, `/fast`, `/color`, and `/rename` accept the value as an argument, for example… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …-servers) from the processes it starts | | Restrictions remain after `/login` to a different organization | The HIPAA status lasts until Claude Code restarts | ### Anthropic credentials in commands,… 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" } } ``` A hook that only adds context c… Automate actions with hooks Claude Code CLI · in the page hooks-guide …check-what-your-organization-enforces) and your session doesn't use [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan, a [mod](/docs/en/plugins/mo… 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.md#platform-availability), signs in to a gateway with `/login`, or runs in Claude Desktop's Code tab behind a gateway that [serves that session settings](/docs/en/claude-apps-gateway-co… 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 …in to a [Claude apps gateway](/docs/en/claude-apps-gateway) through `/login`, the CLI stamps exports with the authenticated identity: `user.id` is the IdP subject, `user.email` is the signed-in email… Configure permissions Claude Code CLI · in the page permissions …your-organization-enforces) on the machine, or a Team or Enterprise [`/login`](/docs/en/authentication#authentication-precedence) as the session's credential, these outcomes stay in place by default w… Plugin loading reference Claude Code CLI · in the page plugins/loading …nced plugins in these terminal sessions, even after you sign in with `/login`: * A session where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …true: * The machine has managed settings * The session runs on [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan A user who authenticates… Mods overview Claude Code CLI · in the page plugins/mods/overview …s.md#check-what-your-organization-enforces) or a Team or Enterprise [`/login`](/docs/en/authentication#authentication-precedence) as the session's credential, by default a mod's approval doesn't get a… Mods reference Claude Code CLI · in the page plugins/mods/reference …d settings, in a session whose credential isn't a Team or Enterprise `/login`. | Lists of plugin ids, such as `acme-guard@acme-tools`. Mods in `prependPlugins` run before every mod a user installs, an… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …d settings, or in a session whose credential is a Team or Enterprise `/login`, the [built-in guard](/docs/en/plugins/mods/admin.md#know-what-happens-by-default) can refuse a mod or one of its answers.… Quickstart Claude Code CLI · in the page quickstart …rganization runs one: your admin pre-configures the gateway URL, and `/login` opens directly on the **Cloud gateway** screen for you to sign in with corporate SSO Once logged in, your credentials are… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ai/admin-settings/roles). * **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 scheduled tasks Claude Code CLI · in the page routines …g `/schedule` shows `/schedule requires a claude.ai subscription. Run /login to sign in with your claude.ai account.` Before v2.1.268, a signed-out session showed the same Claude for Enterprise messag… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …hat sign-in. Claude Code prints [`Cloud gateway session expired — run /login to reconnect.`](/docs/en/errors#cloud-gateway-session-expired) and opens the session signed out of the gateway until the us… 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… All settings Claude Code CLI · in the page settings-reference …aged | | [`gatewayInternalNetworks`](#gatewayinternalnetworks) | Let `/login` reach a [cloud gateway](/docs/en/claude-apps-gateway#allow-a-gateway-on-public-address-space-you-own) on public IPv4 space… Extend Claude with skills Claude Code CLI · in the page skills …in these sessions: * A session that doesn't use a sign-in stored by `/login`, such as one that authenticates with an API key, or one where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `ap… 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.md#availability) | Yes | | `AskUserQuestion` | Asks multiple-choice… 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 …pic's 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 …ccount is your active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a [third-party provider](#requirements) is… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …thorization 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 in the cloud Claude Code CLI · in the page web-quickstart …uth login ``` **2. 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…
Feedback