コンテンツにスキップ

/auth/sign-in/social

POST
/auth/sign-in/social

Sign in with a social provider

object
callbackURL

Callback URL to redirect to after the user has signed in

string
newUserCallbackURL
string
errorCallbackURL

Callback URL to redirect to if an error happens

string
provider
required

OAuth2 provider to use

string
disableRedirect

Disable automatic redirection to the provider. Useful for handling the redirection yourself

string
idToken

ID token from the provider to sign in the user with id token

string

Success

object
session
required
string
user
required
object
url
required
string
redirect
required
boolean

Bad Request. Usually due to missing parameters, or invalid parameters.

object
message
required
string

Unauthorized. Due to missing or invalid authentication.

object
message
required
string

Forbidden. You do not have permission to access this resource or to perform this action.

object
message
string

Not Found. The requested resource was not found.

object
message
string

Too Many Requests. You have exceeded the rate limit. Try again later.

object
message
string

Internal Server Error. This is a problem with the server that you cannot fix.

object
message
string