Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddGenericOIDCProvider

Add a new OIDC identity provider in the organization

POST
/management/v1/idps/generic_oidc

Request Body

application/json
  1. body
name?name
issuer?issuer
clientId?client_id
clientSecret?client_secret
scopes?array<string>
providerOptions?
isIdTokenMapping?is_id_token_mapping
usePkce?use_pkce

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

Response Body

Success

application/json
  1. response
details?
id?id
Example Request
curl -X POST 'https://example.com/management/v1/idps/generic_oidc' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "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?