Skip to main content
POST
Social Login

Authentication

No authentication required.

Required Permissions

No authentication required.

Body

application/json
socialLoginProviderKind
enum<string>
required

Social login provider used to issue the JWT.

Available options:
Oidc
idToken
string
required

JWT id token issued by the social login provider.

orgId
string

Organization id.

Required string length: 1 - 64
Pattern: ^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$
Example:

"or-30tnh-itmjs-s235s5ontr3r23h2"

Response

200 - application/json

Success

token
string
required

Authentication token issued to the user.

expiry
number

Token expiration time in epoch milliseconds.

identity
object

Decoded identity for the issued token. Populated for flows whose token is not a Dfns-minted JWT (e.g. OIDC passthrough) so clients can skip JWT decoding; absent on flows where the token's claims carry the same fields.