SAML Single Sign On (SSO) into Drupal using Salesforce as IDP
Drupal SAML Salesforce SSO ( Single Sign-on ) setup will allow your user to login to your Drupal site using their Salesforce Credentials.
Drupal SAML module gives the ability to enable SAML Single Sign-on for Drupal. This module is compatible with all SAML Identity Providers ( IDP ). We provide Drupal SAML SP 2.0 Single Sign on (SSO) - SAML Service Provider module which is compatible with Drupal 7, Drupal 8 and Drupal 9. Here we will go through a guide to configure SAML SSO between
Drupal and Salesforce Idp. By the end of this guide, users from your Identity Provider should be able to login into the Drupal site.
If you have any queries or if you need any sort of assistance in configuring the module, you can contact us at email@example.com. If you want, we can also schedule an online meeting to help you configure the Drupal SAML SP 2.0 Single Sign on (SSO) login module.
Setup Video Salesforce Suite with Drupal SAML Single Sign On
You can refer the steps to configure Salesforce with the Drupal SAML module from the video or documentation given below:
Features and Pricing
Know more about Drupal SAML Single Sign On - Service Provider module from here.
You can download the SAML Single Sign On - Service Provider module from here.
This detailed Handbook for the SAML Single Sign On - Service Provider module, gives an in depth explanation of the features of the module. You can refer to the handbook at anytime - it is always available to you, either via This link, or directly from the module for quicker access.
1. Install Drupal SAML SP 2.0 Single Sign On (SSO) module
1.1. Using Composer:
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.
Steps to configure Salesforce CRM SAML Single Sign-On ( SSO ) Login into Drupal site
2. Setup Drupal as Service Provider
In the miniOrange SAML Service Provider module, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID / Issure, SP ACS URL
(AssertionConsumerService) and X.509 Certificate which are required to configure the Identity Provider ( Salesforce ), Copy it and keep it handy.
You can provide metadata to your IDP. This can be accomplished in two ways:
You are given a metadata URL that you can provide directly to your IdP.
You can Download XML Metadata file and upload it on your Identity Provider ( Salesforce Suite ).
In the miniOrage SAML Service Provider module, go to Service Provider Setup tab of the module. There are two way to configure Drupal SAML Service Provider SSO module:
A. By Uploading IDP Metadata
Click on Upload IDP Metadata link.
Click on Upload Metadata File and click on Upload File to fetch your information.
You can either Upload Metadata URLand click on Fetch Metadata button.
B. Manual Configuartion
Provide the required settings (i.e. Identity Provider Name, Idp Entity ID or Issuer, SAML Login URL and X.509 Certificate ) find to your Identity Provider Salesforce and click on Save Configuration button to save your configuration.
Now from left pane, under Administration Setup, select Manage Apps Connected Apps.
Click on the App you just created.
Scroll down, under Profiles click on Manage Profiles, Select the profiles you want to give access to login through this app.
3.2 Download metadata for communities
Under SAML Login Information, click on Download Metadata.
Open the downloaded file in some browser like Chrome, Firefox, IE, Microsoft Edge.
Search for "ds:X509Certificate" tab and copy the entire string under this tag. String would be like this: "MII....".
Keep this certificate value handy for next steps.
You have successfully configured Salesforce as SAML IdP (Identity Provider) for achieving Salesforce SSO login into
your Drupal Site.
In this Guide, you have successfully configured Salesforce SAML Single Sign-On ( Salesforce Login ) choosing
Salesforce as IdP and Drupal as SP using miniOrange SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider Login module.
This solution ensures
that you are ready to roll out secure access to your Drupal site using Salesforce login credentials within
24*7 Active Support:
If you face any issues or if you have any questions, please feel free to reach out to us at firstname.lastname@example.org. In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal SAML SP 2.0 Single Sign On (SSO) login module.
If you would like to test out the module to ensure your business use case is fulfilled, we do provide a 7-day trial. Please drop us an email at email@example.com requesting a trial. You can create an account with us using this link.
If you dont hear from us within 24 hours, please feel free to send a follow up email to firstname.lastname@example.org
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.