Merge pull request #1660 from Grivn/fix/claude-token-url

fix(claude): use api.anthropic.com for OAuth token exchange
This commit is contained in:
Luis Pater
2026-02-20 21:52:08 +08:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ import (
// OAuth configuration constants for Claude/Anthropic
const (
AuthURL = "https://claude.ai/oauth/authorize"
TokenURL = "https://console.anthropic.com/v1/oauth/token"
TokenURL = "https://api.anthropic.com/v1/oauth/token"
ClientID = "9d1c250a-e61b-44d9-88ed-5944d1962f5e"
RedirectURI = "http://localhost:54545/callback"
)