auth
Handle social login callback
Handle callback from social provider after authentication
post/api/auth/callback/{provider}
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/auth/callback/{provider}
- Auth: none declared
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 operation across all 55 revisions of this API.