Skip to content

fix(auth): correct OAuth redirect URI to platform.claude.com (#47966) - #47992

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-47966
Closed

fix(auth): correct OAuth redirect URI to platform.claude.com (#47966)#47992
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-47966

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #47966. Changed OAuth redirect URI from console.anthropic.com to platform.claude.com to match Anthropic's actual authorization server.

@alt-glitch alt-glitch added type/bug Something isn't working comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint provider/anthropic Anthropic native Messages API area/auth Authentication, OAuth, credential pools P2 Medium — degraded but workaround exists labels Jun 17, 2026
@kyssta-exe
kyssta-exe force-pushed the auto-fix/issue-47966 branch from cf32859 to f960950 Compare June 17, 2026 21:04
@teknium1

Copy link
Copy Markdown
Contributor

Closing alongside the issue this addresses — working as intended, won't implement.

This change is in service of making Claude Pro/Max/Team OAuth credentials bill on-plan for programmatic traffic. As of Anthropic's mid-June 2026 change, that traffic is metered as extra usage by design. The only way to restore on-plan billing is to present as the first-party Claude CLI/Agent-SDK surface — exactly the spoof filter Anthropic enforces against — which puts users at real risk of account suspension. We won't ship a mitigation whose mechanism is evading the provider's usage-attribution filter.

For Anthropic API access, use a standard x-api-key API key (ANTHROPIC_API_KEY). Thanks for the work and the detailed tracing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P2 Medium — degraded but workaround exists provider/anthropic Anthropic native Messages API type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PKCE redirect_uri mismatch: console.anthropic.com vs platform.claude.com causes invalid tokens

3 participants