Update Generic OIDC Identity Provider
PUThttps://$CUSTOM-DOMAIN/management/v1/idps/generic_oidc/:id
Update Generic OIDC Identity Provider
Request​
Path Parameters
Header Parameters
The default is always the organization of the requesting user. If you like to get/set a result of another organization include the header. Make sure the user has permission to access the requested data.
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
the OIDC issuer of the identity provider
client id generated by the identity provider
client secret will only be updated if provided
the scopes requested by ZITADEL during the request on the identity provider
providerOptions
object
Enable the use of Proof Key for Code Exchange (PKCE) for the OIDC flow.
Body
required
the OIDC issuer of the identity provider
client id generated by the identity provider
client secret will only be updated if provided
the scopes requested by ZITADEL during the request on the identity provider
providerOptions
object
Enable the use of Proof Key for Code Exchange (PKCE) for the OIDC flow.
Body
required
the OIDC issuer of the identity provider
client id generated by the identity provider
client secret will only be updated if provided
the scopes requested by ZITADEL during the request on the identity provider
providerOptions
object
Enable the use of Proof Key for Code Exchange (PKCE) for the OIDC flow.
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object
{
"details": {
"sequence": "2",
"creationDate": "2025-03-31T10:57:51.314Z",
"changeDate": "2025-03-31T10:57:51.314Z",
"resourceOwner": "69629023906488334"
}
}
- Schema
- Example (from schema)
Schema
details
object
{
"details": {
"sequence": "2",
"creationDate": "2025-03-31T10:57:51.314Z",
"changeDate": "2025-03-31T10:57:51.314Z",
"resourceOwner": "69629023906488334"
}
}
- Schema
- Example (from schema)
Schema
details
object
{
"details": {
"sequence": "2",
"creationDate": "2025-03-31T10:57:51.314Z",
"changeDate": "2025-03-31T10:57:51.314Z",
"resourceOwner": "69629023906488334"
}
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://$CUSTOM-DOMAIN/management/v1/idps/generic_oidc/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "Google",
"issuer": "https://accounts.google.com/",
"clientId": "client-id",
"clientSecret": "secret",
"scopes": [
"openid",
"profile",
"email"
],
"providerOptions": {
"isLinkingAllowed": true,
"isCreationAllowed": true,
"isAutoCreation": true,
"isAutoUpdate": true,
"autoLinking": "AUTO_LINKING_OPTION_UNSPECIFIED"
},
"isIdTokenMapping": true,
"usePkce": true
}'