Skip to main content
GET
/
auth
/
external
/
{method}
/
callback
Handle OAuth callback
curl --request GET \
  --url https://api.anycheck.ai/auth/external/{method}/callback
{
"access_token": "<string>",
"refresh_token": "<string>"
}

Path Parameters

method
enum<string>
required

OAuth provider method

Available options:
entra

Query Parameters

code
string
required

Authorization code from OAuth provider

state
string

State parameter for CSRF protection

Response

OAuth authentication successful

access_token
string

JWT access token

refresh_token
string

JWT refresh token