fix: update Anthropic OAuth endpoints to platform.claude.com (#1608)
Anthropic migrated their OAuth infrastructure from console.anthropic.com to platform.claude.com. The old URLs are decommissioned, breaking all OAuth login flows. Closes #1587 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f2bcd049ae
commit
43d8dbc9d3
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ import type { OAuthCredentials, OAuthLoginCallbacks, OAuthProviderInterface } fr
|
|||
const decode = (s: string) => atob(s);
|
||||
const CLIENT_ID = decode("OWQxYzI1MGEtZTYxYi00NGQ5LTg4ZWQtNTk0NGQxOTYyZjVl");
|
||||
const AUTHORIZE_URL = "https://claude.ai/oauth/authorize";
|
||||
const TOKEN_URL = "https://console.anthropic.com/v1/oauth/token";
|
||||
const REDIRECT_URI = "https://console.anthropic.com/oauth/code/callback";
|
||||
const TOKEN_URL = "https://platform.claude.com/v1/oauth/token";
|
||||
const REDIRECT_URI = "https://platform.claude.com/oauth/code/callback";
|
||||
const SCOPES = "org:create_api_key user:profile user:inference";
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue