Social Login

POST /auth/login/social

Completes the login process and provides the authenticated user with their authentication token.

Required Permissions

Since this endpoint is not authenticated, the permissions apply to the application only.

NameConditions

Auth:Users:Read

Always Required

Auth:Users:Delegate

Always Required

Auth:Users:EndUser

Always Required

Request body

idToken *

String

idToken provided by an IDP such as Google

socialLoginProviderKind *

String

type of the idToken, for now only Oidc is valid

Example:

{
  "idToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjY3MTk2NzgzNTFhNWZhZWRjMmU3MDI3NGJ...",
  "socialLoginProviderKind": "Oidc",
}

Responses

Success - a user authentication token

{
  "token": "eyJ0eX...bzrQakA"
}

Last updated