Skip to main content
POST
/
auth
/
login
/
social
Social Login
curl --request POST \
  --url https://api.dfns.io/auth/login/social \
  --header 'Content-Type: application/json' \
  --data '
{
  "idToken": "<string>",
  "orgId": "or-30tnh-itmjs-s235s5ontr3r23h2"
}
'
{
  "token": "<string>"
}

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.

Last modified on June 8, 2026