Search Results :

×

Salesforce SSO for Drupal | Salesforce SSO Login Using Drupal (IDP)

Salesforce SSO for Drupal | Salesforce SSO Login Using Drupal (IDP)


Drupal Salesforce SSO Integration will allow you to configure Single Sign On ( SSO ) login between your Drupal site and Salesforce. Salesforce SSO integration with your Drupal site will help your users to login into Salesforce Suite using their Drupal credentials.
This SSO setup will also help you to manage your users in one single place. We provides Drupal SAML IDP - SAML 2.0 Identity Provider Single Sign-On (SSO) module which is compatible with Drupal 7, Drupal 8 as well as Drupal 9.
Here we will go through a step-by-step guide to configure SAML IDP SSO login between Salesforce as SP ( Service Provider ) and Drupal as IDP ( Identity Provider ). Follow the steps below to configure the Single Sign-On ( SSO ) into Drupal as IDP and Salesforce as SP.

If you have any doubts or queries, you can contact us at drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure the Drupal SAML Identity Provider - SAML 2.0 as Idp SSO Login module.


Pre-requisite: Download and Installation 


  • 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
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Install the module:
    drush en miniorange_saml_idp
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • 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
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup

Steps to configure Salesforce SAML Single Sign-On (SSO) Login into Drupal site

1: Configure Drupal site as Identity Provider

  • Go to IDP Metadata, Copy the IDP Entity ID/Issuer and SAML Login URL and Keep it handy.
  • drupal saml idp - idp metadata tab
  • In the Service Provoder Setup tab, you can enter the name of Service Provider as Salesforce (Salesforce CRM as SAML SP).
  • Navigate to the Service Provider Setup tab of the miniOrange SAML Identity Provider module on your Drupal site. There are two way to configure your Identity Provider ( Drupal as SAML IDP ):
    • A. By Uploading SP metadata:
    • Click on UPLOAD SP METADATA link.
    • You can either Upload Metadata File and click on Upload button or use a Upload Metadata URL and click on Fetch Metadata.
    • drupal saml idp service provider setup
      B. Manual Configuration:
    • Navigate to Service Provider Setup tab of the miniOrange Drupal IDP module.
    • Provide the required settings (i.e. Service Provider Name, SP Entity ID or Issuer, ACS (Assertion Consumer Service) URL, X.509 Certificate (Optional)) as provided by your Service Provider Salesforce ( Salesforce as SP ).
    • Service Provider Name Name of your Service Provider (e.g. Salesforce)
      SP Entity ID or Issuer Copy the Entity ID from the Salesforce Dashboard and paste it.
      ACS URL Copy the Login URL from the Salesforce Dashboard and paste it.
      NameID Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
      Assertion Signed Checked
      drupal saml idp service provider configuration
  • Click on the Save Configuration button to save your configuration. Then click on Test Configuration button to test your configuration.

2. 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.
  • drupal saml idp select single sign on
  • Or Salesforce Lightening Experience: Click the gear icon, then navigate to Setup > Identity > Single Sign-On Settings.
  • setup salesforce as sp
  • On the Single Sign-On Settings page and click on Edit button.
  • drupal saml idp edit settings
  • Check the SAML Enabled box to enable the use of SAML Single-Sign On, then click on Save button.
  • enable saml salesforce as sp
  • Click on New to open SAML Single Sign-On Settings.
  • sso salesforce as sp
    Name Enter a name of your choice
    SAML Version Make sure this is set to 2.0. This should be enabled by default.
    Issuer Copy and paste the IDP-Entity URL/Issuer from IDP Metadata tab of Drupal SAML Identity Provider (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 SAML Identity Provider (Idp) module.
    Custom Logout URL Copy and paste the SAML Logout URL from IDP Metadata tab of Drupal SAML Identity Provider (Idp) module.
    API Name Enter an API name of your choice.
    Entity ID If you have a custom domain setup, use https://[customDomain].my.salesforce.comIf you do not have a custom domain setup, use https://saml.salesforce.com
  • Click on Save button.
  • enter info sso salesforce as sp
  • Copy your Login URL and Entity ID.
  • copy login url salesforce as sp

24*7 Active Support

If you face any issues or if you have any questions, please feel free to reach out to us at drupalsupport@xecurify.com. 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 IDP SSO Login module.

Free Trial

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 drupalsupport@xecurify.com requesting a trial. You can create an account with us using this link.

Additional Resources

Our Other modules

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