Search Results :

×

SAML Single Sign-On (SSO) into Drupal using miniOrange as IdP

The Drupal SAML integration using the miniOrange SAML SP module establishes seamless SSO between miniOrange and the Drupal site. The users will be able to log in to the Drupal site using their miniOrange credentials. This document will walk you through the steps to configure Single Sign-On - SSO between Drupal as a Service Provider (SP) and miniOrange as an Identity Provider (IdP). The module is compatible with 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 Configuration → People → miniOrange SAML Login Configuration in the Administration menu. (/admin/config/people/miniorange_saml/idp_setup)
Drupal SAML Single Sign-On - Select miniOrange SAML Login Configuration

  • Navigate to the Service Provider Metadata and download the metadata. (This is required in configuring the miniOrange as a SAML IdP)
Drupal-Single-Sign-On-Download-the-SAML-SP-Metadata

  • Log in to the miniOrange dashboard as an administrator.
  • From the left navigation panel select Apps.
miniOrange-SAML-Single-Sign-On-navigate-to-the-apps

  • Click on the + Add Application button.
miniOrange-SAML-Single-Sign-On-Click-on-Add-Application-button-to-add-new-SAML-application

  • Select SAML/WS-FED
miniorange-saml-single-sign-on-select-saml-ws-fed

  • Search for Drupal and select Drupal (SAML).
/miniOrange-SAML-Single-Sign-On-Search-drupal-and-select-drupal-saml

  • Click on the Import SP Metadata button.
miniOrange-SAML-Single-Sign-On-Click-on-Import-SP-Metadata-button

  • Enter the following data in the Import SP Metadata window
    • App Name → Drupal (Enter any relevant name)
    • SP Metadata → File
  • Upload the metadata file downloaded from Drupal and click on the Import button.
miniOrange-SAML-Single-Sign-On-Import-SP-Metadata-window-provide-the-required-info

  • Click on the Save button.
  • From the left navigation panel go to Apps → Drupal (This is your app name) → Select → Metadata → Show metadata details and then click on the Download metadata button. (This will be required for further configuration of Drupal)
miniOrange-SAML-SSO-Download-IDP-Metadata

  • Open your Drupal site. Go to the Service Provider Setup tab of the module.
  • Now upload the metadata file downloaded from the miniOrange IdP.
Drupal-SAML-Single-Sign-On-Upload-miniOrange-IdP-metadata

  • Click on the Test link to test the connection between Drupal and miniOrange.
Drupal-SAML-Single-Sign-On-Click-on-Test-link-to-verify-the-connection

  • 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.
Drupal-and-Salesforce-Test-Configurtion-successfully

Congratulations! You have successfully configured miniOrange as an Identity Provider and Drupal as a Service Provider.

  • Open a new browser/private window and navigate to the Drupal site login page.
  • Click the Login using Identity Provider (miniOrange) link.
  • You will be redirected to the miniOrange login page. Enter the miniOrange 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