diff --git a/packages/pi-ai/src/utils/oauth/anthropic.ts b/packages/pi-ai/src/utils/oauth/anthropic.ts index f3a349dc4..861e26409 100644 --- a/packages/pi-ai/src/utils/oauth/anthropic.ts +++ b/packages/pi-ai/src/utils/oauth/anthropic.ts @@ -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"; /**