admin
oauth-client
Update custom OIDC/OAuth provider
Updates an existing custom OIDC/OAuth provider. All fields are optional. Only provided fields will be updated. Only available when custom OIDC/OAuth providers are enabled. When issuer or discovery_url is changed on an OIDC provider, the server re-fetches and validates the discovery document before persisting.
put/admin/custom-providers/{identifier}
Request body
Response
Custom OIDC/OAuth provider updated successfully
Example response
{
"identifier": "custom:mycompany",
"name": "My Company SSO",
"scopes": [
"openid",
"email",
"profile"
],
"attribute_mapping": {
"email": "user_email",
"name": "full_name"
},
"custom_claims_allowlist": [
"groups",
"org_id"
],
"authorization_params": {
"prompt": "consent"
},
"issuer": "https://accounts.google.com"
}