Skip to main content
POST
Login or register via social/OAuth provider

Body

application/json
email
string<email>
required

User's email address from the OAuth provider

Example:

"user@example.com"

provider
enum<string>
required

The OAuth provider name

Available options:
google
Example:

"google"

name
string

User's display name from the OAuth provider

Example:

"John Doe"

Response

Login successful

message
string
Example:

"Login successful"

user
object