auth
Handle social login callback
Handle callback from social provider after authentication
post/api/auth/callback/{provider}
Path parameters
providerstring required
Request body
Example request
{
"code": "authorization_code_here",
"state": "random_state_string"
}Response
Successful Response
Example response
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 300,
"is_new_user": true,
"refresh_expires_in": 1800,
"refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"requires_profile_completion": false,
"token_type": "Bearer",
"user_id": "123e4567-e89b-12d3-a456-426614174000"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.