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.
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.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]+$.
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"
}
}