Start flow with an identity provider | ZITADEL Docs

Start flow with an identity provider

Start a flow with an identity provider, for external login, registration or linking..

POST

/v2/idp_intents

Send

Body

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

ldap & StartIdentityProviderIntentRequesturls & StartIdentityProviderIntentRequest

ldap*ldap

idpId?idp_id

urls*urls

idpId?idp_id

Response Body

200 application/json

cURL

curl -X POST "https://example.com/v2/idp_intents" \
  -H "Content-Type: application/json" \
  -d '{
    "ldap": {}
  }'

200

{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  },
  "authUrl": "string"
}