Skip to content

Switch to Claude Code OAuth token auth (Pro subscription) - #6

Merged
Sarita8888 merged 1 commit into
mainfrom
claude/use-oauth-token
Aug 18, 2026
Merged

Sarita8888 merged 1 commit into
mainfrom
claude/use-oauth-token

Conversation

@Sarita8888

Copy link
Copy Markdown
Owner

Summary

  • The Anthropic Console account behind ANTHROPIC_API_KEY is out of credits and currently blocked from purchasing more (a payment-processing error on Anthropic's billing page).
  • Both workflows passed anthropic_api_key and claude_code_oauth_token together, with no certainty which one claude-code-action prioritizes. Dropped anthropic_api_key from both so they rely solely on claude_code_oauth_token, which authenticates against a Claude.ai subscription's usage allowance instead of pay-per-token API billing.

Prerequisite (outside this PR)

This requires a CLAUDE_CODE_OAUTH_TOKEN repo secret, generated by running claude setup-token (Claude Code CLI) while logged into a Pro/Max/Team/Enterprise Claude.ai account, then added under Settings → Secrets and variables → Actions.

Test plan

Generated with Claude Code


Generated by Claude Code

The Anthropic Console account behind ANTHROPIC_API_KEY is out of
credits and blocked on a payment-processing error, so drop that
input from both workflows and rely solely on
CLAUDE_CODE_OAUTH_TOKEN, which bills against the Claude.ai
subscription's usage allowance instead of pay-per-token API credits.
@Sarita8888
Sarita8888 merged commit 562079f into main Aug 18, 2026
1 check passed
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