CreateSSOConfig
SSO Config CRUD Create a new global SSO configuration.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
tenantUuidStringRequiredDeprecated and ignored. SSO configurations are global.
Example: deprecated-tenant-uuid
displayNameStringRequiredHuman-readable display name for the new SSO configuration.
Example: Corporate SSO
providerTypeStringRequiredIdentity provider type for the new SSO configuration: OIDC, SAML, or LDAP.
Example: OIDC
protocolStringRequiredAuthentication protocol used by this SSO configuration.
Example: oidc
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
Responses
Endpoint
POST/api/v1/sso/configurations
/api/v1/sso/configurations
Request Example
curl -X POST '{host}/api/v1/sso/configurations' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"tenantUuid":"deprecated-tenant-uuid","displayName":"Corporate SSO","providerType":"OIDC","protocol":"oidc","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)"}'
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.
