Search Results :


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


Drupal SAML IdP Metadata:

  • After installing the module on your Drupal site, in the Administration menu, navigate to Configuration → People → miniOrange SAML IDP Configuration. (/admin/config/people/miniorange_saml_idp/idp_setup)
  • Drupal-SAML-IDP-Single-Sign-On-Click-on-Drupal-SAML-IDP-Configuration
  • Under the IDP Metadata tab, click on the Download Metadata button. Open it on the notepad and copy the IdP information. Keep it handy. (This information is required to configure Shopify as SAML SP.)
  • Drupal-SAML-IDP-Single-Sign-On-download-the-metadata

Configure SAML SSO Application in Shopify Store:

  • Go to your Shopify Store, click on the Apps tab, and select the miniOrange Single Sign On - SSO application.
  • shopify-SAML-Single-Sign-On-Click-on-Apps-and-select-miniOrange-SSO
  • Click on the SETUP IDP from the left side.
  • Shopify-SAML-SP-Single-Sign-On-Navigate-to-Setup
  • Under Configure SSO → Click on Add Identity Provider button.
  • Shopify-Store-SAML-SP-Single-Sign-On-Ciick-on-Configure-SSO
  • In the SAML tab, click on the Import IDP Metadata button.
  • Click on Choose File button and upload the previously downloaded metadata file from Drupal.
  • Shopify-Store-SAML-SP-Single-Sign-On-under-SAML-Click-on-Import-Metadata-button
  • Enter the IdP name and select File radio button.
  • hopify-Store-SAML-SP-Single-Sign-On-In-Import-IDP-Metadata-Upload-IdP-metadata-file
  • Click on Import.
  • Scroll to the bottom and click on the Save button.
  • Shopify-Store-SAML-SP-Single-Sign-On-Click-on-Save-buttom-once-imported-the-Metadata
  • Click on Select → Metadata link against the app under the Configure SSO menu.
  • Shopify-Store-SAML-SP-Single-Sign-On-Under-Select-Click-on-Metadata
  • From the Metadata tab, select the SP - INITIATED SSO and then click on Show Metadata Details button.
  • Click on the Download Metadata button. (This is needed to configure Drupal as SAML IdP.)
  • Shopify-Store-SAML-SP-Single-Sign-On-SP-Initiated-SSO.webp

Configuring Drupal as SAML Identity Provider (IdP):

  • Navigate to the Drupal site. Go to the Service Provider Setup tab of the module and click on the Upload SP Metadata.
  • In the Upload Metadata field, choose the SP metadata file that you downloaded from Shopify and click on the Upload button.
  • Drupal-SAML-IDP-Upload-Metadata
  • Enable the checkbox for Assertion Signed and click on the Save Configuration.

You have successfully configured Shopify as SAML Service Provider and Drupal as SAML Identity Provider.

Test Connection between Shopify and Drupal:

  • Navigate to Shopify store.
  • Click on the Configure SSO tab from the left side.
  • Shopify-Store-SAML-SP-Single-Sign-On-Ciick-on-Configure-SSO
  • Click on the Select → Test Connection against the configured Identity Provider (DrupalSAML).
  • Shopify-Store-SAML-SP-Single-Sign-On-Click-on-Test-Connection-under-Select
  • Once the test configuration is successful, you will see the list of user attributes that are received from Drupal (IdP).
  • Shopify-Store-SAML-SP-Single-Sign-On-Test-Connection-is-Successfull

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