Skip to content

feat: add OAuth token authentication support#12

Open
amondnet wants to merge 2 commits intoanthropics:mainfrom
amondnet:oauth
Open

feat: add OAuth token authentication support#12
amondnet wants to merge 2 commits intoanthropics:mainfrom
amondnet:oauth

Conversation

@amondnet
Copy link
Copy Markdown

@amondnet amondnet commented Aug 8, 2025

  • Made claude-api-key input optional
  • Introduced claude-code-oauth-token input for alternative authentication
  • Updated environment variable echo for CLAUDE_CODE_OAUTH_TOKEN

- Made claude-api-key input optional
- Introduced claude-code-oauth-token input for alternative authentication
- Updated environment variable echo for CLAUDE_CODE_OAUTH_TOKEN
- Mark `claude-api-key` as optional
- Add `claude-code-oauth-token` as an alternative input
@zhuravel
Copy link
Copy Markdown

This didn't work for me.

Content of claudecode-results.json:

{"error": "Claude Code not available: ANTHROPIC_API_KEY environment variable is not set"}

ANTHROPIC_API_KEY is checked here:

return False, "ANTHROPIC_API_KEY environment variable is not set"

# Validate Claude Code is available
claude_ok, claude_error = claude_runner.validate_claude_available()
if not claude_ok:
print(json.dumps({'error': f'Claude Code not available: {claude_error}'}))
sys.exit(EXIT_GENERAL_ERROR)

@chaselee
Copy link
Copy Markdown

chaselee commented Jan 4, 2026

Looks like a duplicate of #41, which seems to be more complete and may address @zhuravel 's comment.

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.

3 participants