Safeguard Documentation Center
SSO AuthenticationSAML 2.0

OneLogin

Configure OneLogin as a SAML 2.0 identity provider for Safeguard.

OneLogin

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 OneLogin — the SAML app / SP details (you enter these at the IdP):

FieldExample value
ACS URL (ACS (Consumer) URL)https://api.safeguard.sh/auth/idp/realms/sg_ab12cde/broker/onelogin/endpoint
SP Entity ID / Audiencehttps://api.safeguard.sh/auth/idp/realms/sg_ab12cde
Name ID formatEmailAddress
email attributethe signed-in user's email (mapped from the Email field)

In Safeguard — Add Provider → SAML 2.0 (you copy these from the IdP):

FieldExample value
Aliasonelogin
Display NameSign in with OneLogin
SSO Service URLhttps://<subdomain>.onelogin.com/trust/saml2/http-post/sso/<id>
Entity IDhttps://app.onelogin.com/saml/metadata/<id>
X.509 Certificatethe PEM block below
-----BEGIN CERTIFICATE-----
MIIDdDCCAlygAwIBAgIGAX...(full cert from your IdP)...P3B/k0SolrFYPo
-----END CERTIFICATE-----
  1. In OneLogin, go to Applications → Add App, search for "SAML Custom Connector," and add it.
  2. Under Configuration, set:
    • ACS (Consumer) URL: the ACS URL Safeguard shows after Save
    • Audience: the SP Entity ID Safeguard shows after Save
  3. Under Parameters, add a custom parameter named email mapped to the Email field — separate from the NameID policy OneLogin applies by default.
  4. Under SSO, copy the SAML 2.0 Endpoint (HTTP), Issuer URL, and the X.509 Certificate.
  5. In Safeguard, click Add Provider → SAML 2.0 → OneLogin, and enter those three values.
  6. In OneLogin, assign users under the app's Users tab.
  7. Click Test in Safeguard to confirm.

Common errors: an "Invalid Login" error at OneLogin usually means the Audience field doesn't match what Safeguard expects, or the app isn't assigned to the signed-in user under Users.

On this page