authentication
excludeme
OAuth2 provider callback endpoint
Handles the callback from OAuth2 providers after user authorization. Processes the authorization code and creates a user session.
get/signin/provider/{provider}/callback
Path parameters
provider'apple' | 'github' | 'google' | 'linkedin' | 'discord' | 'spotify' | 'twitch' | 'gitlab' | 'bitbucket' | 'workos' | 'azuread' | 'entraid' | 'strava' | 'facebook' | 'windowslive' | 'twitter' required
The name of the social provider
Query parameters
codestring
Authorization code provided by the authentication provider
id_tokenstring
ID token provided by the authentication provider
statestring required
State parameter to avoid CSRF attacks
oauth_tokenstring
OAuth token for the provider (e.g., X)
oauth_verifierstring
OAuth verifier for the provider (e.g., X)
errorstring
Error message if authentication failed
error_descriptionstring
Detailed error description if authentication failed
error_uristring
URI with more information about the error
Response
An error occurred while processing the request
Example response
{
"status": 400,
"message": "Invalid email format"
}