Set Up OneLogin Directory
In this guide, you will configure OneLogin as a SAML identity provider for Guardrails. This is a three-step process: create the SAML directory in Guardrails, configure the SAML app in OneLogin with the callback URL, then update the Guardrails directory with the IdP metadata.
Prerequisites
- Signed in to Guardrails with
Turbot/Ownerpermissions at the Turbot (root) level. - Administrator access in OneLogin.
Step 1: 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 OneLogin. |
| Description | Optional. |
| Entry Point | Leave blank or enter a placeholder. You'll update this with the OneLogin SSO URL in step 3. |
| Issuer | Leave blank or enter a placeholder. You'll update this with the OneLogin Issuer URL in step 3. |
| Certificate | Leave blank. You'll add this in step 3. |
| Profile ID Template | Default {{profile.email}} works for most cases. Cannot be changed after creation. |
-
Expand Advanced and set:
- Require Signed Authentication Response: set to Disabled. OneLogin does not support this feature.
-
Click Create.
-
Click the new directory to open its detail view. Copy the Callback URL.
Step 2: Configure the SAML App in OneLogin
-
Sign in to the OneLogin admin portal.
-
Navigate to Applications > Add App.
-
Search for SAML Test Connector and select SAML Test Connector (Advanced).
-
Enter
Turbot Guardrailsas the Display Name and click Save. -
Click the Configuration tab and enter:
| Field | Value |
|---|---|
| Audience (Entity ID) | Paste the Callback URL from the Guardrails directory. |
| ACS (Consumer) URL Validator | Paste the Callback URL from the Guardrails directory. |
| ACS (Consumer) URL | Paste the Callback URL from the Guardrails directory. |
-
Click the SSO tab. Copy the Issuer URL and the SAML 2.0 Endpoint (HTTP). You'll need these for step 3.
-
Change the SAML Signature Algorithm to
SHA-256. -
Under the certificate section, click View Details and copy the X.509 certificate.
-
Click the Parameters tab. Add the following attributes using the + button:

| Name | Value |
|---|---|
email | |
firstName | First Name |
lastName | Last Name |
displayName | Display Name (or First Name + Last Name) |
nameId | Email (or Username) |
- Click Save.
Step 3: Update the Guardrails Directory
-
Back in Guardrails, navigate to Workspace > Directories and click the OneLogin directory to edit it.
-
Update the following fields:
| Field | Value |
|---|---|
| Entry Point | The SAML 2.0 Endpoint (HTTP) from OneLogin. |
| Issuer | The Issuer URL from OneLogin. |
| Certificate | The X.509 certificate from OneLogin. |
-
Under Formats, set Name ID Format to
Unspecified(orEmail Addressif you configured OneLogin to use email as the NameID). -
Click Update.
Step 4: Activate and Test
-
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.
-
Select the new directory from the login dropdown and sign in with a OneLogin user.
-
After signing in, verify the profile was created correctly. Check that the display name, email, and other fields are populated.
-
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 in the Guardrails directory advanced settings. |
| Profile fields are blank after login | Verify the attribute names in the OneLogin Parameters tab are correct and case-sensitive. |
| Login fails with a redirect error | Verify the ACS (Consumer) URL in OneLogin matches the Callback URL from Guardrails 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.