Salesforce SAML Single Sign-On (SSO) Integration with Drupal as IdP
Overview
This guide will help you integrate Drupal as a SAML 2.0 Identity Provider (IdP) and Salesforce as a Service Provider (SP) using the miniOrange SAML IDP module. This integration enables centralized user management and permission control, allowing users to access multiple applications with a single set of credentials. The module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Configuration Steps
Drupal SAML IDP Metadata:
- Go to Configuration → People → miniOrange SAML IDP Configuration in the Administration menu. (/admin/config/people/miniorange_saml_idp/sp_setup)
- Under the IDP Metadata tab, click the Download Metadata button to download the IdP metadata file. (This is required to configure SP.)
Configure Salesforce as Service Provider:
- Log in to Salesforce with an admin account.
- From the settings icon dropdown on the top right corner, select Setup.
- Search for the Single Sign-On Settings under the search box present in the left section.
- Click on the Edit button.
- Enable the SAML Enabled checkbox and click on the Save button.
- Under the SAML Single Sign-On Settings click on New from Metadata file.
- Upload the IDP metadata file downloaded from Drupal in the first step and click on the Create button.
- Under the Name and API Name enter the application name and API name as per your choice and click on the Save button.
- Click on the Download Metadata button to download the Salesforce 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.
- Upload the metadata file downloaded from the Salesforce.
- Click on the Test button to test the SSO.
- If the Test is successful, a new window will appear in which you will be logged in to the Salesforce dashboard.
You have successfully configured the SAML SSO between Salesforce as SAML SP and Drupal as SAML IDP.
Related Articles
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.
[MO_CONTACT_US]