Update an identity provider's credentials
Replaces the provider’s credentials, and for oidc re-discovers its endpoints from the issuer. The domain it
serves and whether it is enforced are carried across unchanged, so rotating a client secret does not quietly
turn enforcement off. A provider whose domain stopped being verified is refused until the domain verifies again.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique identifier for a specific organization
[a-zA-Z0-9_-~:]+Alias identifying one of the organization's SSO identity providers
Body
Request payload for replacing an identity provider's credentials
OAuth client ID the organization registered with the provider
OAuth client secret. Write-only: it is stored in Keycloak and is never returned by this API.
OIDC issuer URL. Required for oidc, and for microsoft where it names the Entra tenant; ignored for google.
Response
Identity provider updated
An identity provider serving one of the organization's verified domains. The client secret is write-only and is never returned.
Stable identifier for this provider, used in its own endpoints.
Which identity provider this is. google pins the login to a Google Workspace domain and microsoft to a single Entra tenant, taken from the issuer; oidc is the fallback for anything else that speaks OpenID Connect.
google, microsoft, oidc Name members see for this provider when signing in.
The verified email domain this provider serves.
Whether members on this domain are sent to this provider automatically, leaving no other way in. Registering a provider does not set this; it is enabled separately once a sign-in through it has worked.
OAuth client ID the organization registered with the provider.
OIDC issuer URL, without the /.well-known suffix.