Search Results :

×

Generic guide to set Drupal as Service Provider with any Identity Provider


The Drupal SAML integration using the miniOrange SAML SP module establishes seamless SSO between Identity Provider and the Drupal site. The users will be able to log in to the Drupal site using their IdP credentials. This document will walk you through the steps to configure Single Sign-On - SSO between Drupal as a Service Provider (SP). The module is compatible with Drupal 7, Drupal 9, Drupal 10 and Drupal 11.

Installation Steps


  • 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

Confugure Identity Provider:

  • After installing the module on your Drupal site, in the Administration menu, navigate to Configuration → People → miniOrange SAML Login Configuration. (/admin/config/people/miniorange_saml/idp_setup)
  • Drupal SAML Single Sign-On - Select miniOrange SAML Login Configuration
  • Provide the metadata from this tab to your IDP. You can use any of the 3 ways listed below:
    1. Using Metadata URL:
    2. Drupal SAML Single Sign-On - Select miniOrange SAML Login Configuration
    3. Using XML Metadata file:
    4. Drupal-SAML-Single-Sign-On-Click-on-Download-XML-Metadata-button
    5. Manually uploading the Metadata:
      • Under the Service Provider Metadata tab scroll down to find the SP Metadata.
      • Copy the Metadata and provide it to the Identity Provider.
        SP Entity ID/Issuer Copy the SP Entity ID / Issuer from the Drupal site and paste it into the IDP.
        SP ACS URL Copy the SP ACS URL from the Drupal site and paste it into the IDP.
      • Drupal-SAML-Single-Sign-On-Copy-Metadata

Configure Drupal as SAML Service Provider:

  • To complete the setup, you will have to provide metadata from IDP to the Drupal site. You can use any of the following ways:
    1. Using IDP Metadata file:
      • Navigate to the Drupal site and switch to the Service Provider Setup tab.
      • Expand the Upload IDP Metadata section.
      • Upload the IDP Metadata file and click on the Upload File button.
      • Drupal-SAML-Paste-the-Metadata-URL-into-the-Upload-Metadata-file
    2. Using IDP Metadata URL:
      • Paste the previously copied Metadata Url into the Upload Metadata URL text field.
      • Click on the Fetch Metadata button.
      • Drupal-SAML-Paste-the-Federation-Metadata-URL-into-the-Upload-Metadata-URL
    3. Manually uploading the IDP Metadata:
      • Navigate to the Drupal site.
      • Under the Identity Provider Name enter the IDP name.
      • Provide the following mandatory values from the IDP Metadata.
        IdP Entity ID/Issuer Copy the Entity ID / Issuer from the IdP and paste it into IDP Entity ID/Issuer text field.
        SAML Login URL Copy the Single Sign-On URL from IDP and paste it.
      • Drupal-SAML-Upload-Metadata-manually
  • Click on the Save Configuration button.
  • Drupal-SAML-save-configuration-button
  • Click on the Test Configuratin button to test the connection between Drupal site and Identity Provider.
  • Drupal-SAML-Click-on-Test-link-to-verify-the-connection-between-drupal-and-azure
  • On a Test Configuration popup, you will be prompted to sign in to your IdP if you don't have an active session in the same browser. After successfully logging in to IdP, you will be provided with a list of attributes received from Identity Provider. Click on the Done.
  • drupal saml Single Sign On as SP - click on Done button

Congratulations! you have successfully configure SAML Identity Provider (IdP) and Drupal as SAML 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 link.
  • You will be redirected to the IdP login page. Enter the IdP 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.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include 2FA, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
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