Edit OIDC Provider

Update an existing OIDC SSO provider's configuration.
EndpointMethodAdmin Required
/api/v1/admin/oidcProvidersPUTYes

Updates an existing OIDC provider's configuration.

clientSecret is optional on edit - omit it (or send an empty string) to keep the existing secret unchanged. Send a value to rotate it.

Request Body

id
string (UUID) required
The unique identifier of the provider to update.
name
string required
New display label.
issuerURL
string required
New issuer URL.
clientId
string required
New OAuth client ID.
clientSecret
string
New OAuth client secret. Omit to keep the existing one.
enabled
boolean required
Whether the provider should be shown as a sign-in option.

Example

{
    "id": "63717CB9-DE10-44D2-AC69-774F57F6C148",
    "name": "Google Workspace",
    "issuerURL": "https://accounts.google.com",
    "clientId": "your-client-id",
    "enabled": false
}

Response

Returns the updated provider (without the client secret):

{
    "id": "63717CB9-DE10-44D2-AC69-774F57F6C148",
    "name": "Google Workspace",
    "issuerURL": "https://accounts.google.com",
    "clientId": "your-client-id",
    "enabled": false
}

Errors

StatusReason
400Validation failed (invalid UUID, empty name, issuer URL, or client ID)
404Provider not found