cURL
curl --request GET \ --url https://api.example.com/v2/auth/callback/{provider_id}
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Handle OAuth callback redirect from OAuth providers.
Processes the OAuth token exchange, then redirects to the frontend callback page for a consistent UI experience.
Authorization code from OAuth provider
State parameter containing auth_id
Error code from OAuth provider
Error description from OAuth provider
Successful Response
Was this page helpful?