When SAP Customer Data Cloud acts as an IdP, it provides SSO login and logout services to third-party service providers. This means SAP Customer Data Cloud is responsible for verifying user identities and issuing assertions.
SAP Customer Data Cloud's SAML IdP service enables identity federation on top of SAP Customer Data Cloud's Customer Identity Management via the SAML2.0 protocol. The SAML IdP allows any service providers supporting SAML 2.0 to authenticate SAP Customer Data Cloud's Customer Identity management.
In this flow, SAP Customer Data Cloud functions as an IdP, which means that SAP Customer Data Cloud provides an SSO login (or logout) to a third-party service provider. The SAML protocol supports different profiles and binding options, and SAP Customer Data Cloud supports the web browser SSO profile with HTTP POST and HTTP Redirect binding.
Setup SAP Customer Data Cloud as IdP
To set up SAP Customer Data Cloud as an IdP, follow these steps:
Step 1: Activate the IdP
Navigate to Customer Data Cloud Console → Identity → Connect → Inbound Federation → SAML
Alternatively, use the API: fidm.saml.idp.setConfig
Step 2: Configure IdP Settings
Your proxy page must include references to:
Customer Data Cloud 's SAML SDKs.
Login URL and Logout URL URIs.
An error page for handling failures.
Step 3: Register Each Service Provider
For each SP you want to connect, collect its SAML SP Metadata and configure the following values.
| Setting | Description |
|---|
| Name | Identifier for the SP. |
| Issuer | Unique identifier for the SP. |
| Session Lifetime | Duration of the SSO session |
| ACS URL | Assertion Consumer Service URL — where SAML responses are sent. |
| SLO URL | Single Logout URL. |
| Binding | HTTP POST or HTTP Redirect. |
| Name ID | Format used to identify the user |
| Attribute Map | Maps Customer Data Cloud user attributes to SP attributes. |
| x509 Certificate | Used for signing and encryption. |
Note
Every Customer Data Cloud site is pre-configured to function as an IdP. No additional setup is required for the Issuer, SSO URL, SLO URL, or x509 certificate. Check the SAML IdP Metadata page for your site's default values.
Registering SAP Customer Data Cloud as a Service Provider (SP)
When SAP Customer Data Cloud acts as an SP, it receives SSO login and logout services from a third-party identity provider, such as Active Directory Federation Services (ADFS).
The SAML protocol supports different profiles and binding options, and the SAP Customer Data Cloud supports the web browser SSO profile with HTTP POST and HTTP Redirect binding.
To register an external IdP within SAP Customer Data Cloud:
Step 1: Access SP Configuration
Navigate to Customer Data Cloud Console → Identity → Connect → Outbound Federation → SAML
Alternatively, use the API: fidm.saml.setConfig
Step 2: Collect IdP Information and Configure Settings
Collect and add the following IdP details.
| Setting | Description |
|---|
| Name | Will be prefixed with saml- automatically. |
| Issuer | Unique identifier for the IdP. |
| SSO URL | The IdP's endpoint for handling login requests. |
| Binding | HTTP POST or HTTP Redirect. |
| SLO URL | The IdP's endpoint for handling logout requests. |
| Name ID Format | Format used to identify the user. |
| Attribute Map | Maps IdP attributes to Customer Data Cloud user attributes. |
| x509 Certificate | The IdP's certificate for validating assertions. |
Note
Just like with the IdP configuration, every Customer Data Cloud site comes pre-configured as an SP. Your Issuer, ACS URL, SLO URL, and x509 certificate are already set.
Security Best Practices
SAML is a powerful protocol, but it must be implemented securely. Here are the key security practices to follow:
Always Use HTTPS: SAML tokens contain sensitive identity information and must never be transmitted over unencrypted channels.
Signature Verification: Always require signed assertions and, where possible, signed responses to ensure data integrity.
Limit Assertion Lifetime: Keep the SAML session lifetime as short as practical for your use case. Longer-lived sessions increase the attack window if an assertion is intercepted.
Restrict Allowed IdPs: In Customer Data Cloud, only register known and trusted IdPs. Regularly audit your registered IdP list and remove any that is no longer in use.
Always Sign Assertions:Unsigned assertions can be forged. Ensure the IdP signs all SAML assertions using its private key and the SP validates the signature using the IdP's public x509 certificate.
Encrypt Sensitive Assertions: For applications handling sensitive data, encrypt SAML assertions in addition to signing them to prevent interception.