Social Registration

POST /auth/registration/social

Starts a user registration session, returning a challenge that will be used to verify the user's identity.

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 - an object containing the user's authentication options

Format:

Examples

Last updated