Skip to main content
POST
Claude OAuth Token
Proxies the Claude OAuth token exchange to handle CORS. Forwards the request to https://console.anthropic.com/v1/oauth/token.

Body

Pass the standard OAuth token exchange parameters. The body is forwarded as-is to Anthropic.
string
required
OAuth grant type (e.g., authorization_code).
string
required
Authorization code from Claude OAuth flow.
string
required
The redirect URI used in the authorization request.

Response

Returns the Claude OAuth token response with CORS headers (Access-Control-Allow-Origin: *).
string
Claude access token.
string
Claude refresh token.