Search Results :

×

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


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

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

Drupal SAML SP Metadata:

  • Go to Configuration → People → 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 PingOne as a SAML IdP)
  • Drupal-Single-Sign-On-Download-the-SAML-SP-Metadata

Configure SAML Single Sign-On Application in PingOne:

  • Sign in to your PingOne admin console as the Administrators.
  • Go to the Overview tab on the left and choose Add a SAML app.
  • PingIdentity-Single-Sign-On-Select-SAML-App
  • Click on the + (Plus sign) in front of Applications.
  • PingIdentity-Single-Sign-On-Click-on-Add-Application-button
  • Enter the application name and choose SAML Application as the application type in the Add Application window. Then click on the Configure button.
  • PingIdentity-Single-Sign-On-Enter-the-Application-Name-and-Select-SAML
  • In the SAML Configuration window select Import Metadata options and upload the metadata file downloaded from Drupal. Then click on the Save button.
  • PingIdentity-Single-Sign-On-Select-a-file-and-click-save
  • In order to allow the user access to this application, enable the toggle button
  • PingIdentity-Single-Sign-On-SAML-SSO-Enable-the-Toggle-button
  • Go to the Configuration tab and click on the Download Metadata button. (This will be required for further configuration of Drupal)
  • PingIdentity-Single-Sign-On-Click-on-Download-Metadata-button

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 PingOne IdP.
  • Drupal-SAML-Single-Sign-On-Upload-miniOrange-IdP-metadata
  • Click on the Test link to test the connection between Drupal and PingOne.
  • 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 PingOne 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 (PingOne) link.
  • You will be redirected to the PingOne login page. Enter the PingOne 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