This guide walks you through setting up a SAML Single Sign-On (SSO) identity provider (IdP) in Directo.
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.
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”).
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:
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.
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)
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.
Click Save. If you provided a Metadata URL, Directo will automatically import the IdP's signing certificates during the first save.
After saving, the Trusted Certificates section appears below the form. This section shows the signing certificates imported from your IdP's metadata.
When your IdP rotates its signing certificate:
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. |
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.
| 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. |