Skip to content

Comments

docs: clarify CLAUDE_CODE_OAUTH_TOKEN is not supported#17835

Merged
pelikhan merged 2 commits intomainfrom
copilot/remove-claude-token-support
Feb 23, 2026
Merged

docs: clarify CLAUDE_CODE_OAUTH_TOKEN is not supported#17835
pelikhan merged 2 commits intomainfrom
copilot/remove-claude-token-support

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

Users were attempting to use CLAUDE_CODE_OAUTH_TOKEN (Claude Teams OAuth auth) with gh-aw, but this was never supported. The token has no presence in the codebase; only ANTHROPIC_API_KEY is supported for Claude engine authentication.

Changes

  • FAQ entry (docs/src/content/docs/reference/faq.md): Added "Can I use CLAUDE_CODE_OAUTH_TOKEN with the Claude engine?" under Configuration & Setup, explicitly stating it is unsupported, pointing users to ANTHROPIC_API_KEY, and noting that provider-based OAuth auth (e.g., Claude Teams subscription billing) is not supported.
Original prompt

Remove all support the token claude_code_oauth_token, remove all sources that reference them and add an FAQ entry stating that this token is not supported.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove support for claude_code_oauth_token docs: clarify CLAUDE_CODE_OAUTH_TOKEN is not supported Feb 23, 2026
@pelikhan pelikhan marked this pull request as ready for review February 23, 2026 06:00
Copilot AI review requested due to automatic review settings February 23, 2026 06:00
@pelikhan pelikhan merged commit 6125b4b into main Feb 23, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/remove-claude-token-support branch February 23, 2026 06:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies in the FAQ that CLAUDE_CODE_OAUTH_TOKEN (Claude Teams OAuth) is not supported for Claude engine authentication in GitHub Agentic Workflows, and points users to the supported ANTHROPIC_API_KEY setup.

Changes:

  • Added a new FAQ entry explicitly stating CLAUDE_CODE_OAUTH_TOKEN is unsupported.
  • Linked to the existing Authentication and AI Engines documentation for the supported ANTHROPIC_API_KEY configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants