Set Up PingID Directory

In this guide, you will configure PingID (PingOne) as a SAML identity provider for Guardrails. This is a three-phase process: create a SAML application in PingID, create the directory in Guardrails, then update the ACS URL in PingID with the callback URL.

Prerequisites

Step 1: Create a SAML App in PingID

  1. Sign in to the PingID admin console.

PingID application creation page

  1. Create a new application with the following settings:
SettingValue
Application NameTurbot Guardrails (for multiple environments, use Turbot Guardrails Prod / Turbot Guardrails Dev)
Application DescriptionSAML integration with Guardrails
Application TypeSAML Application
Protocol VersionSAML v 2.0
  1. Configure SAML attributes. These are case-sensitive:

PingID SAML attribute configuration showing required and optional attributes

Required attributes:

Attribute NameSourceExample
saml_subjectEmail Address[email protected]
emailEmail Address[email protected]
nameIdEmail Address, sAMAccountName, or UPNjdoe
displayNameFormatted (Display Name)John Doe
firstNameGiven NameJohn
lastNameFamily NameDoe

[!TIP] PingID fills in saml_subject automatically.

Optional attributes:

Attribute NameSourceExample
sAMAccountNamesAMAccountName[email protected]
loginEmail Address[email protected]
  1. Configure the SAML settings:
SettingValue
Assertion Consumer Service (ACS)Enter a placeholder URL (e.g., https://your-workspace.cloud.turbot.com/). You'll update this after creating the directory in Guardrails.
Entity IDYour workspace URL (e.g., https://your-workspace.cloud.turbot.com). Any unique value works.
Signing AlgorithmRSA_SHA256

PingID certificate download section

  1. Download the X509 PEM (.crt) certificate. The file starts with -----BEGIN CERTIFICATE-----.

  2. Copy the Single Signon Service URL. You'll need this as the Entry Point.

Step 2: Create the SAML Directory in Guardrails

  1. Navigate to Workspace > Directories.

  2. Click Create Directory and select SAML.

Create SAML Directory form with Title, Entry Point, Issuer, Certificate, and Profile ID Template fields

  1. Fill in the directory details:
FieldDescription
TitleDisplayed on the login screen. Example: Acme Corp PingID.
DescriptionOptional.
Entry PointThe Single Signon Service URL from PingID (format: https://auth.pingone.com/{hash}/saml20/idp/sso).
IssuerYour Guardrails workspace URL.
CertificatePaste the full PEM certificate contents from PingID.
Profile ID TemplateA common template is pingid.{{profile.email}} to avoid collisions with local directory profiles. Cannot be changed after creation.
  1. Configure optional settings as needed:
OptionGuidance
Name ID FormatUnspecified works for most setups.
Allow IdP-Initiated SSOEnable if users will launch Guardrails from the PingID app list.
Require Signed Authentication ResponseEnable if your organization requires it.
Strict Audience ValidationOnly enable if the Issuer matches your workspace URL exactly.
  1. Click Create.

  2. Click the new directory to open its detail view. Copy the Callback URL (format: https://{workspace-url}/api/latest/directories/{directoryId}/saml/callback).

Step 3: Update the ACS URL in PingID

  1. Go back to the PingID admin console and open your Guardrails SAML application.

  2. Replace the placeholder Assertion Consumer Service (ACS) URL with the Callback URL from the Guardrails directory.

PingID ACS URL configuration field

  1. Save the configuration.

[!NOTE] If you delete and recreate the Guardrails SAML directory, the directory ID changes and you'll need to update the ACS URL in PingID again.

Step 4: Activate and Test

  1. Back in Guardrails, navigate to Workspace > Directories.

  2. Click the Activate action on the new SAML directory.

  3. Open an incognito or private browser window.

  4. Navigate to your Guardrails workspace URL and sign in with the new directory.

  5. Also test signing in from the PingID application list to verify IdP-initiated flow (if enabled).

  6. After signing in, verify the profile was created correctly. Check that the display name, email, first name, and last name are populated. If any fields are blank, adjust the SAML attributes and sign in again. Attribute name casing is a common cause of empty fields.

  7. The user has no permissions until an administrator grants them.

Troubleshooting

IssueSolution
InResponseTo is missing from responseEnable Allow IdP-Initiated SSO in the Guardrails directory advanced settings.
SAML assertion audience mismatchDisable Strict Audience Validation, or ensure the Issuer matches the Entity ID in PingID.
Profile fields are blank after loginVerify SAML attribute names are correct and case-sensitive. Check both required and optional attributes.
ACS URL or callback errorsVerify the ACS URL in PingID matches the Callback URL from the Guardrails directory exactly.
Directory doesn't appear on the login screenConfirm the directory is Active on the Workspace > Directories page.

Next Steps