107 pages for auth login.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Add Federation Rule Workspace
Claude Developer Platform · in the page
api/organization/federation/rules/workspaces/add
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
List Federation Rule Workspaces
Claude Developer Platform · in the page
api/organization/federation/rules/workspaces/list
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Remove Federation Rule Workspace
Claude Developer Platform · in the page
api/organization/federation/rules/workspaces/remove
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Service Accounts
Claude Developer Platform · in the page
api/organization/service_accounts
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Archive Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/archive
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Create Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/create
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
List Service Accounts
Claude Developer Platform · in the page
api/organization/service_accounts/list
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Get Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/retrieve
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Update Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/update
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Workspaces
Claude Developer Platform · in the page
api/organization/service_accounts/workspaces
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Add Workspace To Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/workspaces/add
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
List Workspaces For Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/workspaces/list
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Remove Workspace From Service Account
Claude Developer Platform · in the page
api/organization/service_accounts/workspaces/remove
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Workspaces
Claude Developer Platform · in the page
api/organization/workspaces
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Service Accounts
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Create Service Account Workspace Member
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts/add
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
List Service Account Workspace Members
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts/list
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Delete Service Account Workspace Member
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts/remove
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Get Service Account Workspace Member
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts/retrieve
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
Update Service Account Workspace Member
Claude Developer Platform · in the page
api/organization/workspaces/service_accounts/update
…equires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Ad…
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…ies/cli/quickstart#authentication) covers the one-command login (`ant auth login`). This page covers every option in full. ## Interactive login `ant auth login` lets you call the API without creatin…
quickstart
Claude Developer Platform · in the page
cli-sdks-libraries/cli/quickstart
…the installation: ```bash ant --version ``` ## Authentication `ant auth login` opens a browser-based OAuth flow against the Claude Console and stores the resulting credentials locally, so you can c…
scripting
Claude Developer Platform · in the page
cli-sdks-libraries/cli/scripting
…`curl` or another HTTP client can use the credentials stored by [`ant auth login`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#authentication) instead of a static API key. Th…
get-started
Claude Developer Platform · in the page
get-started
…Log in with your Anthropic account: ```bash ant auth login ``` This opens a browser-based OAuth flow. After authorizing, confirm your credential with: `…
admin-api
Claude Developer Platform · in the page
manage-claude/admin-api
…ch the CLI back with `ant profile activate default`: ```bash CLI ant auth login --profile admin --scope "org:admin" export ANTHROPIC_AUTH_TOKEN=$(ant auth print-credentials --profile admin --access-t…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…``bash CLI # Sign in once as an admin, which opens a browser. ant auth login --profile admin --scope "org:admin" ant --profile admin beta:organization:telemetry-destinations create \ --endpo…
wif-admin-api
Claude Developer Platform · in the page
manage-claude/wif-admin-api
…ch the CLI back with `ant profile activate default`: ```bash CLI ant auth login --profile admin --scope "org:admin" export ANTHROPIC_AUTH_TOKEN=$(ant auth print-credentials --profile admin --access-t…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…authenticates with a qualifying credential, such as an organization OAuth login, a directly configured API key, or a `user_oauth` [Anthropic profile](/docs/en/authentication.md#anthropic-profiles-and…
Authentication
Claude Code CLI · in the page
authentication
…e Code asks whether to use it * **Earlier sign-in**: you ran [`claude auth login`](/docs/en/cli-reference#cli-commands) in your shell before your first session, or you rebuilt a dev container that kee…
Claude Code changelog
Claude Code CLI · in the page
changelog
…jected or has expired: it now tells you to sign in again with `claude auth login` * Improved enforcement of managed permission rules, managed hooks and organization MCP tool names against user-install…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…te the resources above * The `gcloud` CLI, authenticated with `gcloud auth login`, and Docker installed locally * For the GKE track: `kubectl`, and a GKE cluster on the VPC created in the walkthrough…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…m the `claude` CLI on any machine where you're logged in with `claude auth login`. The CLI authenticates with your Anthropic account credentials and sends no local session state, so the command doesn'…
CLI reference
Claude Code CLI · in the page
cli-reference
…laude install stable` | | `claude auth login` | Sign in to your Anthropic account. Use `--email` to pre-fill your email address, `--sso` to force SSO au…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…e`. `gh` reads `GH_TOKEN` automatically, so you don't need to run `gh auth login`. ### Link output back to the session Each cloud session has a transcript URL on claude.ai, and the session can read…
Environment variables
Claude Code CLI · in the page
env-vars
…Anthropic profile to authenticate with, such as one created by [`ant auth login`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/authentication) or by [signing in to a Console account wit…
Error reference
Claude Code CLI · in the page
errors
…es the browser sign-in Each of these messages from `/login`, `claude auth login`, or `claude setup-token` means Claude Code couldn't open the port on `127.0.0.1` where your browser returns the sign-i…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…the [GitHub CLI](https://cli.github.com) and authenticate it with `gh auth login`. Claude Code checks for it and warns you if it's missing. Open `claude` in the repository you want to connect, run `/…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…er**: use the `gh` CLI configured for your GHES host instead. Run `gh auth login --hostname github.example.com` to authenticate, then Claude can use `gh` commands in sessions. ## Troubleshooting ###…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…te the gcloud CLI with the same credential configuration - gcloud auth login --cred-file=/tmp/cred.json - gcloud config set project "$GCP_PROJECT_ID" script: - /bin/gitlab-mcp-server ||…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…github.com**: `GH_TOKEN` or `GITHUB_TOKEN`, or the token saved by `gh auth login`. Without one, the footer shows `install gh for PR status` when the `gh` CLI isn't installed, or `gh auth login for PR…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…en/authentication.md): how credential variables, `apiKeyHelper`, and OAuth login interact
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…eady stores works; one it would have to ask for fails. On GitHub, `gh auth login` followed by `gh auth setup-git` stores one. For a GitHub Enterprise Server host, users need git access to that host f…
Install and manage plugins
Claude Code CLI · in the page
plugins/install
…S**: your git credential helpers apply, so access you set up with `gh auth login`, the macOS Keychain, or `git-credential-store` works. Interactive prompts are suppressed, so a host you have never aut…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…credential helper must hold a token for the host. For GitHub, run `gh auth login` and `gh auth setup-git`. For another host, store a personal access token in your git credential helper. Test with `git…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…tting and `ANTHROPIC_AUTH_TOKEN` are named the same way. Run `claude auth login` and choose the claude.ai option. If the message names `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN`, remove it whereve…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…read. Such a credential can be a personal access token, the token `gh auth login` saves for your account, or a `GH_TOKEN` in the runner's environment. * **With [Anthropic-managed git](#use-the-anthr…
Self-hosted environments quickstart
Claude Code CLI · in the page
self-hosted-environments-quickstart
…**Sign-in**: run it on a machine where you've signed in with `claude auth login` using an account that holds an Owner role. With only an API key or a third-party model provider, the session starts bu…
Test self-hosted environments end to end
Claude Code CLI · in the page
self-hosted-environments-testing
…elf-hosted environment, using Stop-hook read-back. # Prereqs: `claude auth login` has been run on this machine (see "Authenticate # from CI" below); jq is installed; CLAUDE_TEST_ENVIRONMENT_ID names a…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…not start Claude Code. The `claude auth` subcommands such as `claude auth login` are exempt from this check and from the gateway startup exit, so users can re-authenticate when expired credentials ar…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…e Claude Code to confirm which authentication method is active. ### OAuth login fails in WSL2, SSH, or containers When Claude Code runs in WSL2, on a remote machine over SSH, or inside a container,…