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
- Signed in to Guardrails with
Turbot/Ownerpermissions at the Turbot (root) level. - Administrator access in the PingID admin console.
Step 1: Create a SAML App in PingID
- Sign in to the PingID admin console.

- Create a new application with the following settings:
| Setting | Value |
|---|---|
| Application Name | Turbot Guardrails (for multiple environments, use Turbot Guardrails Prod / Turbot Guardrails Dev) |
| Application Description | SAML integration with Guardrails |
| Application Type | SAML Application |
| Protocol Version | SAML v 2.0 |
- Configure SAML attributes. These are case-sensitive:

Required attributes:
| Attribute Name | Source | Example |
|---|---|---|
saml_subject | Email Address | [email protected] |
email | Email Address | [email protected] |
nameId | Email Address, sAMAccountName, or UPN | jdoe |
displayName | Formatted (Display Name) | John Doe |
firstName | Given Name | John |
lastName | Family Name | Doe |
[!TIP] PingID fills in
saml_subjectautomatically.
Optional attributes:
| Attribute Name | Source | Example |
|---|---|---|
sAMAccountName | sAMAccountName | [email protected] |
login | Email Address | [email protected] |
- Configure the SAML settings:
| Setting | Value |
|---|---|
| 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 ID | Your workspace URL (e.g., https://your-workspace.cloud.turbot.com). Any unique value works. |
| Signing Algorithm | RSA_SHA256 |

-
Download the X509 PEM (.crt) certificate. The file starts with
-----BEGIN CERTIFICATE-----. -
Copy the Single Signon Service URL. You'll need this as the Entry Point.
Step 2: Create the SAML Directory in Guardrails
-
Navigate to Workspace > Directories.
-
Click Create Directory and select SAML.

- Fill in the directory details:
| Field | Description |
|---|---|
| Title | Displayed on the login screen. Example: Acme Corp PingID. |
| Description | Optional. |
| Entry Point | The Single Signon Service URL from PingID (format: https://auth.pingone.com/{hash}/saml20/idp/sso). |
| Issuer | Your Guardrails workspace URL. |
| Certificate | Paste the full PEM certificate contents from PingID. |
| Profile ID Template | A common template is pingid.{{profile.email}} to avoid collisions with local directory profiles. Cannot be changed after creation. |
- Configure optional settings as needed:
| Option | Guidance |
|---|---|
| Name ID Format | Unspecified works for most setups. |
| Allow IdP-Initiated SSO | Enable if users will launch Guardrails from the PingID app list. |
| Require Signed Authentication Response | Enable if your organization requires it. |
| Strict Audience Validation | Only enable if the Issuer matches your workspace URL exactly. |
-
Click Create.
-
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
-
Go back to the PingID admin console and open your Guardrails SAML application.
-
Replace the placeholder Assertion Consumer Service (ACS) URL with the Callback URL from the Guardrails directory.

- 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
-
Back in Guardrails, navigate to Workspace > Directories.
-
Click the Activate action on the new SAML directory.
-
Open an incognito or private browser window.
-
Navigate to your Guardrails workspace URL and sign in with the new directory.
-
Also test signing in from the PingID application list to verify IdP-initiated flow (if enabled).
-
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.
-
The user has no permissions until an administrator grants them.
Troubleshooting
| Issue | Solution |
|---|---|
InResponseTo is missing from response | Enable Allow IdP-Initiated SSO in the Guardrails directory advanced settings. |
SAML assertion audience mismatch | Disable Strict Audience Validation, or ensure the Issuer matches the Entity ID in PingID. |
| Profile fields are blank after login | Verify SAML attribute names are correct and case-sensitive. Check both required and optional attributes. |
| ACS URL or callback errors | Verify the ACS URL in PingID matches the Callback URL from the Guardrails directory exactly. |
| Directory doesn't appear on the login screen | Confirm the directory is Active on the Workspace > Directories page. |
Next Steps
- Grant a Permission: Give new users access after their first login.
- Profiles: Understand how profiles are created and managed.