Change the issuer, the client ID, the client secret or the scopes of an SSO provider. Send only the fields that change. When you send an issuer, CENTURY reads its discovery document again. The domain and the provider ID cannot change: to use a different domain, delete the provider and create a new one.
An issuer change removes the linked IdP accounts of the provider. The users, their memberships and their sessions stay.
Path parameters
-
SSO provider ID. CENTURY makes it from the domain of the provider, and it does not change. It has lower case letters, digits and single hyphens only.
Maximum length is
227. Format should match the following pattern:^[a-z0-9]+(?:-[a-z0-9]+)*$.
Body
Required
-
The OIDC issuer of the identity provider. It must be an HTTPS URL, and it must be the same as the
issuerin the discovery document at{issuer}/.well-known/openid-configuration. The host must be a public DNS name, not an IP address. The URL must have no user name, port, query or fragment. The host is in lower case and the URL is in its normal form.Maximum length is
2048. Format should match the following pattern:^https:\/\/[A-Za-z0-9.-]+(?:\/[!-"$->@-[\]-~]*)?$. -
The client ID that the identity provider gave to CENTURY.
Minimum length is
1, maximum length is255. -
The client secret that the identity provider gave to CENTURY. It is write-only: no response contains it.
Minimum length is
1, maximum length is1024. -
The OIDC scopes that CENTURY requests at sign-in. The list must include
openid. If you omit the field, the scopes of the provider do not change.At least
1but not more than20elements. Maximum length of each is64. Format of each should match the following pattern:^[\x21\x23-\x5B\x5D-\x7E]+$.
Responses
-
SSO provider updated successfully.
-
Invalid request.
-
Invalid authentication credentials
-
Not authorised to access this resource. The SSO provider operations are in preview and by invitation only: an organisation that is not in the preview gets this response.
-
SSO provider not found.
-
OIDC discovery failed for the issuer. The response gives no cause. The causes are: the discovery document is not found or is not valid, the
issuerin the document is different, an endpoint in the document is nothttps://, or the host of the issuer is not public or has no address. To find the cause, open{issuer}/.well-known/openid-configurationin a browser. A temporary DNS failure also gives this response, so you can send the request again. -
Not available in this environment.
-
The SSO service is not available.
curl \
--request PATCH 'https://connect.century.tech/api/v1/sso-providers/school-example' \
--header "x-api-key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{
"issuer": "https://idp.school.example",
"clientId": "century-sso",
"clientSecret": "your-client-secret",
"scopes": [
"openid",
"email",
"profile"
]
}'
{
"issuer": "https://idp.school.example",
"clientId": "century-sso",
"clientSecret": "your-client-secret",
"scopes": [
"openid",
"email",
"profile"
]
}
{
"ssoProvider": {
"providerId": "school-example",
"domain": "school.example",
"issuer": "https://idp.school.example",
"clientId": "century-sso",
"scopes": [
"openid",
"email",
"profile"
],
"domainVerified": false,
"createdAt": "2026-11-24T09:30:00.000Z"
}
}