Salesforce Single Sign-On ( SSO ) - Salesforce login using Drupal Credentials ( IDP ) can be achieved by using our Drupal SAML IDP Single Sign-On ( SSO ) module. This module is compatible with all the SAML compliant Service providers. Here we will go through a step-by-step guide to configure SAML IDP SSO login between Drupal site and Salesforce by considering Salesforce as SP ( Service Provider ) and Drupal as IDP ( Identity Provider )
Step 1: Configure Salesforce as Service Provider
Open a new browser tab or window, Login into your Salesforce account as Account Admin.
Select either Salesforce Classic: Navigate to Setup > Security Controls > Single Sign-On Settings.
Or Salesforce Lightening Experience: Click the gear icon, then navigate to Setup > Identity > Single Sign-On Settings.
On the Single Sign-On Settings page and click on Edit button.
Check the SAML Enabled box to enable the use of SAML Single-Sign On, then click on Save button.
Click on New to open SAML Single Sign-On Settings.
Enter a name of your choice
Make sure this is set to 2.0. This should be enabled by default.
Copy and paste the IDP-Entity URL/Issuer from IDP Metadata tab of Drupal IDP module.
Identity Provider Certificate
Download the Certificate from IDP Metadata Open it in notepad. Copy and paste the content here.
Identity Provider Login URL
Copy and paste the SAML Login URL from IDP Metadata tab of Drupal IDP module.
Custom Logout URL
Copy and paste the SAML Logout URL from IDP Metadata tab of Drupal IDP module.
Enter an API name of your choice.
If you have a custom domain setup, use https://[customDomain].my.salesforce.com If you do not have a custom domain setup, use https://saml.salesforce.com
Click on Save. button
Copy your Login URL and Entity ID.
Step 2: Configure Drupal as the
Go to Drupal SAML IDP Dashboard and click on Service Provider Setup tab.
Enter the following information into the corresponding fields and click on Save button.
Service Provider Name
SP Entity ID or Issuer
copy Entity ID from previous step as SP Entity ID or Issuer