Search the documentation
12 pages for claude_code_oauth_token.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…the session authenticates with your claude.ai login. Not loaded when `CLAUDE_CODE_OAUTH_TOKEN` holds a token from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), which can…
Authentication
Claude Code CLI · in the page
authentication
…ing credentials, such as short-lived tokens fetched from a vault. 5. `CLAUDE_CODE_OAUTH_TOKEN` environment variable. A long-lived OAuth token generated by [`claude setup-token`](#generate-a-long-lived…
Claude Code changelog
Claude Code CLI · in the page
changelog
…web instead of showing an empty card * Fixed: after `/login` while `CLAUDE_CODE_OAUTH_TOKEN` is set, the stale-token reminder no longer leaks into Claude's automatically resumed turn — it now appear…
Development containers
Claude Code CLI · in the page
devcontainer
…rry authentication across codespaces, store `ANTHROPIC_API_KEY` or a `CLAUDE_CODE_OAUTH_TOKEN` from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token) as a [Codespaces secret]…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_OAUTH_TOKEN` | OAuth access token for claude.ai authentication. Alternative to `/login`…
Error reference
Claude Code CLI · in the page
errors
…ur credentials are already configured * Confirm `ANTHROPIC_API_KEY`, `CLAUDE_CODE_OAUTH_TOKEN`, or your cloud provider credentials are set in the environment that launches the worker, not only in your…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…as a repository secret, named `ANTHROPIC_API_KEY` for an API key or `CLAUDE_CODE_OAUTH_TOKEN` for a subscription token. Claude Code then pushes a branch with the workflow files you select, already s…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…n the workflow `env` block. The action requires `anthropic_api_key`, `CLAUDE_CODE_OAUTH_TOKEN`, or workload identity federation before it launches Claude Code, and it doesn't read `ANTHROPIC_AUTH_TOKE…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…ropic-profiles-and-federation-credentials) supplies the credential * `CLAUDE_CODE_OAUTH_TOKEN` holds a token from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), which can…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…thenticated with a long-lived token from `claude setup-token` or the `CLAUDE_CODE_OAUTH_TOKEN` environment variable. These tokens can only make model requests, so they can't establish Remote Control s…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…| | `CLAUDE_CODE_OAUTH_TOKEN` | The short-lived OAuth access token the child uses for model inference, scoped to model infere…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…th a Team or Enterprise OAuth login, an OAuth token supplied through `CLAUDE_CODE_OAUTH_TOKEN`, or a directly configured API key, on platforms where server-managed delivery is supported. See [Platform…