ZITADEL Docs
APIsCore ResourcesV1Instance Objects

AddGenericOIDCProvider

Add a new OIDC identity provider on the instance

POST
/idps/generic_oidc

Request Body

application/json

name?string
issuer?string
clientId?string
clientSecret?string
scopes?array<>
providerOptions?
isIdTokenMapping?boolean
usePkce?boolean

Enable the use of Proof Key for Code Exchange (PKCE) for the OIDC flow.

[key: string]?never

Response Body

application/json

curl -X POST "https://loading/idps/generic_oidc" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  },
  "id": "string"
}

Was this page helpful?