Search Results :


Salesforce SAML Single Sign-On (SSO) Integration with Drupal as IdP

Salesforce SAML Single Sign-On (SSO) Integration with Drupal as IdP

Drupal can be set as a centralized identity provider or an authentication source for the users across other applications via Single Sign-On (SSO). This document will walk you through the steps of integrating Drupal as SAML 2.0 IDP and Salesforce as a Service Provider (SP) using the miniOrange SAML IDP module. This will allow you to manage users and their permissions in a place and at the same time the users can access multiple applications with single credentials. The module is compatible with Drupal 7, Drupal 8, Drupal 9, and Drupal 10.

Installation Steps 

  • Download the module:
    composer require 'drupal/miniorange_saml_idp'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Identity Provider using the search box.
  • Enable the module by checking the checkbox and click on install button.
  • Configure the module at
  • Install the module:
    drush en miniorange_saml_idp
  • Clear the cache:
     drush cr
  • Configure the module at
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML IDP 2.0 Single Sign On (SSO) - SAML Identity 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

Obtain SAML IDP Metadata from Drupal:

  • Once the module is installed, navigate to Configuration → People → miniOrange SAML IDP Configuration. (/admin/config/people/miniorange_saml_idp/idp_setup)
  • Configuration-Drupal-Click-on-miniOrange-SAML-IDP-Configuration
  • Navigate to the IDP Metadata tab and download the metadata file. (This is required in order to configure the Salesforce as a SAML SP)
  • Drupal-Single-Sign-On-Click-on-Download-Metadata-button

Configure Salesforce as a Service Provider:

  • Log in to Salesforce with an admin account.
  • From the settings icon dropdown on the top right corner, select Setup.
  • Salesforce-as-SP-Navigate-to-Settings
  • Search for the Single Sign-On Settings under the search box present in the left section.
  • Salesforce-as-SP-Search-for-Single-Sign-on-Settings
  • Click on the Edit button.
  • Salesforce-as-SP-Click-Edit-button
  • Enable the SAML Enabled checkbox and click on the Save button.
  • Salesforce-as-SP-Enable-SAML-Checkbox
  • Under the SAML Single Sign-On Settings click on New from Metadata file.
  • Salesforce-as-SP-Add-New-Provider-from-Metadata
  • Upload the IDP metadata file downloaded from Drupal in the first step and click on the Create button.
  • Salesforce-as-SP-Upload-Metadata
  • Under the Name and API Name enter the application name and API name as per your choice and click on the Save button.
  • Salesforce-as-SP-Verify-IDP-Information
  • Click on the Download Metadata button to download the Salesforce metadata.
  • Salesforce-as-SP-Download-Metadata

Configuring Drupal as SAML Identity Provider (IdP):

  • Go to the Drupal site. Navigate to the Service Provider Setup tab of the miniOrange SAML IDP module. (/admin/config/people/miniorange_saml_idp/sp_setup)
  • Click on the Upload SP Metadata.
  • Drupal-SAML-IDP-Select-Upload-Metadata
  • Upload the metadata file downloaded from the Salesforce.
  • Drupal-SAML-IDP-Upload-Metadata
  • Click on the Test button to test the SSO.
  • Drupal-SAML-IDP-Select-Test-Configure
  • If the Test is successful, a new window will appear in which you will be logged in to the Salesforce dashboard.
  • Salesforce-as-SP-Test-Configuration-Successful

You have successfully configured the SAML SSO between Salesforce as SAML SP and Drupal as SAML IDP.

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 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!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to