Table of Contents

SAML SSO Configuration Guide

This guide walks you through setting up a SAML Single Sign-On (SSO) identity provider (IdP) in Directo.

Prerequisites

Step 1: Open the SAML SSO Configuration

Navigate to the SAML SSO configuration page in Directo. You will see a list of existing IdP configurations, or an empty list if none have been configured yet.

From the main menu: Settings → Common Settings → SSO Saml Login settings. Or use the search feature.

Step 2: Create a New Configuration

  1. Click the Add new button.
  2. You will be taken to the IdP configuration form.

Step 3: Fill in the Button Title

Enter a descriptive name in the Button title field. This is the label that will appear on the SSO login button on the Directo login page (e.g., “Login with Azure AD” or “Company SSO”).

Step 4: Configure the IdP Settings

Login URL (required)

Enter the Login URL (also known as SSO URL or SAML Endpoint) from your Identity Provider. This is the endpoint where Directo sends SAML authentication requests.

Where to find it:

Logout URL (optional)

Enter the Logout URL (also known as SLO URL or Single Logout Endpoint). This enables single logout — when a user logs out of Directo, they are also logged out of the IdP session.

Where to find it: Look for “SLO URL”, “Logout URL”, or “Single Logout Endpoint” in the same section as the Login URL in your IdP.

Metadata URL (required)

Enter the Metadata URL that points to your IdP's SAML metadata XML document. This URL contains the IdP's signing certificates, endpoints, and other configuration details.

Where to find it:

(Azure SSO pictured above)

Step 5: Configure Name ID Mapping

Under SAML Name ID Mapping, select how the IdP identifies users:

Choose the option that matches how your IdP is configured to send the Name ID claim.

Step 6: Save the Configuration

Click Save. If you provided a Metadata URL, Directo will automatically import the IdP's signing certificates during the first save.

Step 7: Manage Certificates

After saving, the Trusted Certificates section appears below the form. This section shows the signing certificates imported from your IdP's metadata.

Importing Certificates

Certificate Rollover

When your IdP rotates its signing certificate:

  1. Add the new certificate in your IdP configuration.
  2. Open the corresponding IdP configuration in Directo.
  3. Click Import from Metadata URL to import the new certificate.
  4. Both the old and new certificates will be trusted during the transition period.

Certificate Table

The certificate table shows:

Column Description
Subject The certificate's subject (typically the IdP's domain)
Thumbprint A unique identifier for the certificate (truncated for readability)
Expires The certificate's expiration date. A warning icon appears if the certificate has expired.

Step 8: Test the Configuration

  1. Open the Directo login page in a new browser window or incognito/private window.
  2. You should see a new SSO button with the title you configured.
  3. Click the button and verify that you are redirected to your IdP's login page.

  1. After authenticating with the IdP, you should be redirected back to Directo and logged in.

Editing an Existing Configuration

  1. Click on the configuration row in the list.
  2. Update the fields as needed.
  3. Click Save.

Deleting a Configuration

  1. Click on the configuration row in the list.
  2. Click the Delete button.
  3. Confirm the deletion in the dialog.

:!: Warning: Deleting an IdP configuration will immediately prevent users from logging in via that SSO method.

:!: Warning: If you have enabled “Only configured SSO SAML methods can be used for authentication” and you delete all login methods you can lock yourself out of your application.

Troubleshooting

Problem Solution
SSO button does not appear on login page Verify the configuration is saved and the Button title is set.
“Invalid signature” error after login Re-import certificates from the Metadata URL. The IdP may have rotated its signing certificate.
User cannot be found after SSO login Check the Name ID Mapping setting. Ensure the IdP sends the correct attribute (email or username) and that it matches the user's record in Directo.
Metadata URL returns an error Verify the URL is correct and accessible. Some IdPs require the app to be activated before the metadata URL is available.