SAML Single Sign On between Two Drupal Sites
Overview
The Drupal SAML integration using the miniOrange SAML SP module establishes seamless SSO between Two Drupal sites. This module will let you configure one of your Drupal Sites as your Service Provider (Drupal as SP) and your other Drupal Site as the IdP (Drupal as 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)
- Under the Service Provider Metadata tab, copy the Metadata URL. Keep it handy. It will required to configure Drupal as Identity Provider.
Configure Drupal as a Identity Provider
- Log in to your Drupal site with admin credentials.
- Download and install the miniorange SAML IDP 2.0 Single Sign On (SSO) - SAML Identity Provider module.
- Onnce module is installed, navigate to Configuration → People → miniOrange SAML IDP Configuration in the Administration menu. (/admin/config/people/miniorange_saml_idp/sp_setup)
- Under the IDP Metadata tab, copy the Metadata URL. Keep it handy. It will required to configure Drupal as Service Provider.
- Now, go to the Service Provider Setup tab. Click Upload SP Metadata.
- Paste the previously copied metadata url from Drupal Service Provider site. Click Fetch Metadata button.
Configure Drupal as SAML Service Provider:
- Go to your Drupal site. Navigate to the Service Provider Setup tab of the module and click on the Upload IDP Metadata.
- Paste the previously copied Metadata URL from Drupal Identity Provider site into the Add from a URL text field and click on the Fetch Metadata button.
Note: To update Identity Provider Name, follow these steps:
- Under Action, select the Edit.
- Enter Drupal in the Identity Provider Name text field.
- Scroll down and click on the Save Configuration button.
- Click on the Test link to test the connection between two Drupal site.
- On a Test Configuration popup sign in using Drupal credentials (if an active session is not present). After successful authentication, a list of attributes that are received from Drupal will be displayed. Click on the Done.
Congratulations! you have successfully configure Single Sign-on between two Drupal site.
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 (Drupal) link.
- You will be redirected to the Drupal login page. Enter the Drupal credentials. After successful authentication, the user will be redirected back to the Drupal site.
Why choose us:
[MO_CONTACT_US]