SAML Single Sign-On (SSO) into Drupal using Delinea (Formerly known as Centrify) as IdP
Overview
The Drupal SAML integration using the miniOrange SAML SP module establishes seamless SSO between Delinea (Formerly known as Centrify) and the Drupal site. The users will be able to log in to the Drupal site using their Delinea credentials. This document will walk you through the steps to configure Single Sign-On - SSO between Drupal as a Service Provider (SP) and Delinea as an Identity Provider (IdP). The module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Configuration Steps
Drupal SAML SP Metadata
- Go to Configuration → People → SAML Login Configuration in the Administration menu. (/admin/config/people/miniorange_saml/idp_setup)
- Navigate to the Service Provider Metadata and copy the metadata URL. (This is required in configuring the Delinea as a SAML IdP)
Configure SAML Single Sign-On Application in Delinea:
- Sign in to Delinea as an Administrator.
- Go to Apps from the Centrify Admin Portal and click on the Add Web Apps button.
- Go to the Custom tab, locate the SAML web application, and click on the Add button.
- Enter the following information in the Settings and click on the Save button.
- Name → Any relevant application name (Here we used SAML)
- Description → Enter a description about the application (Optional)
- Category → Other
- Go to Trust → Service Provider Configuration → Metadata in the left-hand menu. Paste the metadata URL of Drupal and click Load. Then, click on the Save button.
- Under the Identity Provider Configuration, select the Metadata option and click the Download Metadata File button. (Save this metadata file. This will be required for further configuration of Drupal)
Configure Drupal as SAML Service Provider:
- Open your Drupal site. Go to the Service Provider Setup tab of the module.
- Click on Upload IDP Metadata Section.
- Now upload the metadata file downloaded from the Delinea IdP.
- Click on the Test link to test the connection between Drupal and Delinea.
- In the test configuration window, a success message with SAML response attributes will appear if the configurations are correct; otherwise, error messages with additional troubleshooting instructions will appear. Click on Done.
Congratulations! You have successfully configured Delinea as an Identity Provider and Drupal as a Service Provider.
How does SAML SSO login work?
- Open a new browser/private window and navigate to the Drupal site login page.
- Click the Login using Identity Provider (Delinea) link.
- You will be redirected to the Delinea login page. Enter the Delinea credentials. After successful authentication, the user will be redirected back to the Drupal site.
Additional Features:
Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button of the module or reach out to us at drupalsupport@xecurify.com for one-on-one assistance from Drupal expert.
- Map Attributes/Roles from IdP to the Drupal site
- Multiple IdP setup
Redirect users to a specific page after login/logout - Protect site from anonymous access - forced authentication