Social Sign In
Sign in with a social provider
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
provider
callbackURL
Callback URL to redirect to after the user has signed in
newUserCallbackURL
errorCallbackURL
Callback URL to redirect to if an error happens
disableRedirect
Disable automatic redirection to the provider. Useful for handling the redirection yourself
idToken
scopes
Array of scopes to request from the provider. This will override the default scopes passed.
requestSignUp
Explicitly request sign-up. Useful when disableImplicitSignUp is true for this provider
loginHint
The login hint to use for the authorization code request
additionalParams
Extra query parameters to append to the provider authorization URL (e.g. Cognito identity_provider, Google hd).
additionalData
Response
Success - Returns session details (idToken branch) or an authorize URL (redirect branch)
redirect
token
user
url
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error