Social Login

POST /auth/login/social

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

Required Permissions

None

Request body

orgId

String

Dfns Organisation ID

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