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

17 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… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …isn't on usage-based billing A `claude setup-token` token passed as `CLAUDE_CODE_OAUTH_TOKEN` doesn't qualify by default, because it carries only the `user:inference` scope. Other sessions, such as A… 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… 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]… 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… Automate actions with hooks Claude Code CLI · in the page hooks-guide …se` hook blocked. A session that runs on an API key or a long-lived [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/authentication#generate-a-long-lived-token) instead isn't using that login, even when that logi… 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… Configure permissions Claude Code CLI · in the page permissions …se` hook blocked. A session that runs on an API key or a long-lived [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/authentication#generate-a-long-lived-token) instead isn't using that login, even when that logi… Plugin loading reference Claude Code CLI · in the page plugins/loading …ou sign in with `/login`: * A session where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential in place of that sign-in * A session that doesn't [f… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …hine that has managed settings. A session that runs on a long-lived [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/authentication#generate-a-long-lived-token) doesn't count as that login either, even when a Tea… 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 …Anthropic-issued OAuth token that other providers don't accept. | | `CLAUDE_CODE_OAUTH_TOKEN` | The short-lived OAuth access token the child uses for model inference, with a lifetime of about 30 minu… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …ith a 401 or 403 from the Anthropic API, the runner fetches a fresh [`CLAUDE_CODE_OAUTH_TOKEN`](/docs/en/self-hosted-environments-configuration#wrapper-scripts) from Anthropic and passes it to the ses… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …redentials, such as `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and `CLAUDE_CODE_OAUTH_TOKEN` * The configuration-directory selector `CLAUDE_CONFIG_DIR` * Credential-source and configuration-director… Extend Claude with skills Claude Code CLI · in the page skills …authenticates with an API key, or one where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential * A session that doesn't fetch feature flags, such a…
Feedback