Yolocode

Claude OAuth Token

CORS proxy for Claude OAuth token exchange

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.

grant_typestringrequired(body)

OAuth grant type (e.g., authorization_code).

codestringrequired(body)

Authorization code from Claude OAuth flow.

redirect_uristringrequired(body)

The redirect URI used in the authorization request.

Response

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

access_tokenstring

Claude access token.

refresh_tokenstring

Claude refresh token.

On this page