ZITADEL Docs
APIsCore ResourcesV1Instance Objects

AddOIDCIDP

POST
/idps/oidc

Request Body

application/json

name?string
stylingType?string
Value in"STYLING_TYPE_UNSPECIFIED" | "STYLING_TYPE_GOOGLE"
clientId?string
clientSecret?string
issuer?string
scopes?scopes
displayNameMapping?string
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED" | "OIDC_MAPPING_FIELD_PREFERRED_USERNAME" | "OIDC_MAPPING_FIELD_EMAIL"
usernameMapping?string
Value in"OIDC_MAPPING_FIELD_UNSPECIFIED" | "OIDC_MAPPING_FIELD_PREFERRED_USERNAME" | "OIDC_MAPPING_FIELD_EMAIL"
autoRegister?boolean
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/idps/oidc" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  },
  "idpId": "string"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?