Skip to content

Add Anthropic OAuth credential injection for Claude subscription tokens - #29

Merged
bbrowning merged 1 commit into
mainfrom
anthropic-oauth
Jul 23, 2026
Merged

Add Anthropic OAuth credential injection for Claude subscription tokens#29
bbrowning merged 1 commit into
mainfrom
anthropic-oauth

Conversation

@bbrowning

Copy link
Copy Markdown
Owner

Implement AnthropicOAuthInjector following the ChatGPT injector pattern: the injector handles its own token refresh internally via direct HTTPS, token vending returns synthetic tokens to the agent, and proxy.go stays clean. Includes config wiring, credential routing, token vending for both console.anthropic.com and platform.claude.com endpoints, and full test coverage.

Implement AnthropicOAuthInjector following the ChatGPT injector pattern:
the injector handles its own token refresh internally via direct HTTPS,
token vending returns synthetic tokens to the agent, and proxy.go stays
clean. Includes config wiring, credential routing, token vending for
both console.anthropic.com and platform.claude.com endpoints, and full
test coverage.

Co-Authored-By: Trevor Vaughan <trevor-vaughan@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bbrowning
bbrowning merged commit 628ae4e into main Jul 23, 2026
6 checks passed
@bbrowning
bbrowning deleted the anthropic-oauth branch July 23, 2026 17:29
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.

1 participant