fix(oauth): use claude.com/cai authorize endpoint

Align Claude OAuth authorize URL with Claude Code CLI
(https://claude.com/cai/oauth/authorize).
This commit is contained in:
neboyang
2026-08-01 14:55:09 +08:00
parent 6fa784fdd0
commit 0204ce285e
+1 -1
View File
@@ -19,7 +19,7 @@ const (
ClientID = "9d1c250a-e61b-44d9-88ed-5944d1962f5e"
// OAuth endpoints
AuthorizeURL = "https://claude.ai/oauth/authorize"
AuthorizeURL = "https://claude.com/cai/oauth/authorize"
TokenURL = "https://platform.claude.com/v1/oauth/token"
RedirectURI = "https://platform.claude.com/oauth/code/callback"