Skip to content

Fix Claude OAuth: use claude.ai token endpoint (console host now 404s) - #12

Merged
TopiCsarno merged 1 commit into
TopiCsarno:mainfrom
yoggu:fix/claude-oauth-token-endpoint
Jun 15, 2026
Merged

Fix Claude OAuth: use claude.ai token endpoint (console host now 404s)#12
TopiCsarno merged 1 commit into
TopiCsarno:mainfrom
yoggu:fix/claude-oauth-token-endpoint

Conversation

@yoggu

@yoggu yoggu commented Jun 13, 2026

Copy link
Copy Markdown

Fixes #11.

Anthropic retired https://console.anthropic.com/v1/oauth/token — it now returns 404, so adding a Claude account fails at the code-exchange step. The subscription OAuth flow now exchanges and refreshes tokens at https://claude.ai/v1/oauth/token.

Same request, just the host changed, and it returns the tokens fine. The authorize endpoint and redirect URI were already correct, so only TOKEN_ENDPOINT needed updating — in two places (login + refresh). Tested on 0.5.0; login works again after this change.

Anthropic retired https://console.anthropic.com/v1/oauth/token (now returns 404). The subscription OAuth flow exchanges and refreshes tokens at https://claude.ai/v1/oauth/token. The authorize endpoint was already on claude.ai, so only the token host needed updating.
@TopiCsarno
TopiCsarno merged commit 4d6ff51 into TopiCsarno:main Jun 15, 2026
1 check passed
@TopiCsarno

Copy link
Copy Markdown
Owner

Thanks for the fix!

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.

Claude login broken: token exchange returns 404

2 participants