Search Results :

×

SAML Single Sign On between Two Drupal Sites

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.

  • Download the module:
    Composer require 'drupal/miniorange_saml'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Service Provider using the search box.
  • Enable the module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup
  • Install the module:
    drush en drupal/miniorange_saml
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup
  • Go to ConfigurationPeopleSAML Login Configuration in the Administration menu. (/admin/config/people/miniorange_saml/idp_setup)
Configuration-Drupal-Select-miniOrange-SAML-Login-Configuration

  • Under the Service Provider Metadata tab, copy the Metadata URL. Keep it handy. It will required to configure Drupal as Identity Provider.
Drupal SAML Single Sign-On - Copy Metadata URL to configure Drupal as IdP

Drupal SAML Single Sign-On - click miniOrange SAML IDP Configuration

  • Under the IDP Metadata tab, copy the Metadata URL. Keep it handy. It will required to configure Drupal as Service Provider.
Drupal SAML Single Sign-On - Copy Metadata URL to configure Drupal as SP

  • Now, go to the Service Provider Setup tab. Click Upload SP Metadata.
Drupal SAML Single Sign-On - Upload-SP-Metadat

Drupal SAML Single Sign-On - paste Metadata URL to configure Drupal as IDP

  • Go to your Drupal site. Navigate to the Service Provider Setup tab of the module and click on the Upload IDP Metadata.
Drupal-Keycloak-SAML-SP-Click-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.
Drupal-SAML-SP-Upload-Metadata-File

Note and Contact Us - SSO between two WordPress sites

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.
Drupal SAML Service Provider - Check connection between Drupal and Simple-SAML

  • 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.
Drupal SAML Service Provider - Test configuartion

Congratulations! you have successfully configure Single Sign-on between two Drupal site.

  • 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.

[MO_CONTACT_US]
ADFS_sso ×
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com