opencode icon indicating copy to clipboard operation
opencode copied to clipboard

How can I authenticate the opencode GitHub Action with Anthropic using Oauth?

Open ianwalter opened this issue 2 months ago • 7 comments

Question

Claude Code uses CLAUDE_CODE_OAUTH_TOKEN, but opencode seems to only support ANTHROPIC_API_KEY. How can I use Oauth so that I can use my Anthropic Max plan like I can with the local opencode TUI?

ianwalter avatar Oct 27 '25 02:10 ianwalter