SSO AuthenticationSAML 2.0
CyberArk Identity
Configure CyberArk Identity as a SAML 2.0 identity provider for Safeguard.
CyberArk Identity
Example values
The tenant-specific values (the sg_ab12cde parts) show the shape only — Safeguard displays your real ACS URL and SP Entity ID in the Add Provider dialog after you click Save. This table makes it unambiguous which value goes on which side.
In CyberArk Identity — the SAML app / Trust details (you enter these at the IdP):
| Field | Example value |
|---|---|
| Assertion Consumer Service URL | https://api.safeguard.sh/auth/idp/realms/sg_ab12cde/broker/cyberark/endpoint |
| SP Entity ID | https://api.safeguard.sh/auth/idp/realms/sg_ab12cde |
| NameID Format | Email Address |
email attribute | attribute mapped to LoginUser.email |
In Safeguard — Add Provider → SAML 2.0 (you copy these from the IdP):
| Field | Example value |
|---|---|
| Alias | cyberark |
| Display Name | Sign in with CyberArk Identity |
| SSO Service URL | https://<tenant>.id.cyberark.cloud/saml2/idp/sso |
| Entity ID | https://<tenant>.id.cyberark.cloud/<app-id> |
| X.509 Certificate | the PEM block below |
-----BEGIN CERTIFICATE-----
MIIDdDCCAlygAwIBAgIGAX...(full cert from your IdP)...P3B/k0SolrFYPo
-----END CERTIFICATE------ In the CyberArk Identity Admin Portal, go to Apps & Widgets → Web Apps → Add Web Apps → Custom → SAML.
- Under Trust, set SP Entity ID to the SP Entity ID Safeguard shows after Save, and Assertion Consumer Service URL to the ACS URL Safeguard shows after Save.
- Set NameID Format to Email Address, with the NameID value resolving to the user's email.
- Under SAML Response → Attributes, add an attribute named
emailresolving to the user's email — separate from the NameID Format/value setting above. - Copy the IdP Issuer URL and SSO endpoint, and download the IdP Certificate, from the app's Trust tab.
- In Safeguard, click Add Provider → SAML 2.0 → CyberArk Identity, and enter those three values.
- Assign the application to the appropriate Roles under the app's Permissions tab.
- Click Test in Safeguard to confirm.
Common errors: sign-in looping back to CyberArk usually means the NameID value variable is misconfigured (it must resolve to an actual email, not a bare username).