UpdateSSOConfig
Update an existing SSO configuration with partial or full field changes.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
idStringRequiredUnique identifier of the SSO configuration to update.
Body Fields
tenantUuidStringRequiredDeprecated and ignored. SSO configurations are global.
Example: deprecated-tenant-uuid
displayNameStringRequiredUpdated human-readable display name for the SSO configuration.
Example: Updated Corporate SSO
oidcConfigObjectRequiredOidc config
clientIdStringOAuth 2.0 client identifier issued by the OIDC provider.
Example: my-client-id
clientSecretStringOAuth 2.0 client secret issued by the OIDC provider.
Example: s3cr3t
wellKnownUrlStringURL of the OIDC provider well-known discovery document.
Example: https://idp.example.com/.well-known/openid-configuration
redirectUriStringRedirect URI registered with the OIDC provider for the callback.
Example: https://zcf.example.com/sso/callback
scopeStringSpace-separated OAuth 2.0 scopes requested during authentication.
Example: openid profile email
configNameStringHuman-readable name identifying this OIDC configuration.
Example: Corporate OIDC
samlConfigObjectRequiredSAML config
idpEntityIdStringEntity ID of the SAML Identity Provider.
Example: https://idp.example.com/saml/metadata
idpSsoUrlStringSingle Sign-On service URL of the Identity Provider.
Example: https://idp.example.com/saml/sso
idpSloUrlStringSingle Logout service URL of the Identity Provider.
Example: https://idp.example.com/saml/slo
idpCertificateStringPEM-encoded X.509 certificate of the Identity Provider.
Example: -----BEGIN CERTIFICATE----- ...
idpMetadataUrlStringURL to fetch the Identity Provider metadata XML document.
Example: https://idp.example.com/saml/metadata.xml
spEntityIdStringEntity ID of the SAML Service Provider (this application).
Example: https://zcf.example.com/saml/sp
nameIdFormatStringNameID format used to identify the subject in SAML assertions.
Example: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
signRequestsBooleanWhether to cryptographically sign outgoing SAML AuthnRequests.
Example: true
forceAuthnBooleanWhether to force re-authentication even if a valid IDP session exists.
Example: false
spCertificatePemStringPEM-encoded X.509 certificate used by the Service Provider for request signing.
Example: -----BEGIN CERTIFICATE----- ...
ldapConfigObjectRequiredLDAP config
serverAddressStringHostname or IP address of the LDAP server.
Example: ldap.example.com
portIntegerTCP port on which the LDAP server is listening.
Example: 389
baseDnStringBase Distinguished Name used as the root for LDAP searches.
Example: dc=example,dc=com
bindDnStringDistinguished Name of the service account used to bind to LDAP.
Example: cn=admin,dc=example,dc=com
bindPasswordStringPassword for the LDAP bind account.
Example: bindP@ssw0rd
userSearchBaseStringBase DN under which user entries are searched.
Example: ou=users,dc=example,dc=com
userSearchFilterStringLDAP search filter expression used to locate user entries.
Example: (uid=%s)
useSslBooleanWhether to use SSL/TLS when connecting to the LDAP server.
Example: true
Responses
Endpoint
PUT/api/v1/sso/configurations/{id}
/api/v1/sso/configurations/{id}
Request Example
curl -X PUT '{host}/api/v1/sso/configurations/{id}' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"tenantUuid":"deprecated-tenant-uuid","displayName":"Updated Corporate SSO","oidcConfig":{"clientId":"my-client-id","clientSecret":"s3cr3t","wellKnownUrl":"https://idp.example.com/.well-known/openid-configuration","redirectUri":"https://zcf.example.com/sso/callback","scope":"openid profile email","configName":"Corporate OIDC"},"samlConfig":{"idpEntityId":"https://idp.example.com/saml/metadata","idpSsoUrl":"https://idp.example.com/saml/sso","idpSloUrl":"https://idp.example.com/saml/slo","idpCertificate":"-----BEGIN CERTIFICATE-----\n...","idpMetadataUrl":"https://idp.example.com/saml/metadata.xml","spEntityId":"https://zcf.example.com/saml/sp","nameIdFormat":"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress","signRequests":true,"forceAuthn":false,"spCertificatePem":"-----BEGIN CERTIFICATE-----\n..."},"ldapConfig":{"serverAddress":"ldap.example.com","port":389,"baseDn":"dc=example,dc=com","bindDn":"cn=admin,dc=example,dc=com","bindPassword":"bindP@ssw0rd","userSearchBase":"ou=users,dc=example,dc=com","userSearchFilter":"(uid=%s)","useSsl":true},"userProvisioning":"auto","groupProvisioning":"sync","attributeMappings":"(nested object)","groupMappings":"(nested array)","enabled":true,"clearAttributeMappings":false,"clearGroupMappings":false}'
Response Example
200{
"uuid": "sso-cfg-001",
"issuer": "https://idp.example.com",
"displayName": "Corporate SSO",
"providerType": "OIDC",
"protocol": "oidc",
"oidcConfig": {},
"samlConfig": {}
}Change History
This API has no change history records yet.
