Shopify SAML Single Sign-On SSO Login using Drupal as IDP

Shopify SAML Single Sign-On SSO Login using Drupal as IDP


Drupal Shopify SSO Integration will allow you to configure Single Sign On ( SSO ) login between your Drupal site and Shopify. Shopify SSO integration with your Drupal site will help your users to login into Shopify using their Drupal credentials.

This SSO setup will also help you to manage your users in one single place. The Drupal SAML IDP - SAML 2.0 Identity Provider Single Sign-On SSO moduleis 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 Shopify as SP ( Service Provider ) and Drupal as IDP ( Identity Provider ).

If you have any queries or if you need any sort of assistance in configuring the module, you can contact us at drupalsupport@xecurify.com. If you want, we can also schedule an online meeting to help you configure the Drupal SAML IDP 2.0 Single Sign On (SSO) - SAML Identity Provider module.

Features and Pricing

Know more about Drupal SAML Identity Provider (IDP) module from here.

Pre-requisites: Download

You can download the Drupal SAML Identity Provider (IDP) module from here.

1. Install Drupal SAML IDP module

    1.1. Using Composer:

    • 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

    1.2. Using Drush:

    • Download the module:
      drush dl miniorange_saml_idp
    • 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

    1.3. Manual installation:

    • 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 Shopify SAML Single Sign-on ( SSO ) Login into Drupal (D7,D9) site

2. Configure Drupal as Identity Provider

  • Navigate to the Configuration tab and Select Drupal SAML IDP Configuration.
  • drupal saml idp go to configuration tab
  • In the 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, and enter the name of Service Provider Name (Shopify).
  • drupal saml idp enter service provider name
  • 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 ):
  • drupal saml idp service provider upload metadata
      A. By Uploading IDP 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 Identity 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 ( Shopify as SAML SP ).
    • Service Provider Name Name of your Service Provider (Shopify).
      SP Entity ID or Issuer Copy the Entity ID or Issuer from the miniOrange Metadata
      ACS URL Copy the ACS URL (For SP-Initiated SSO) from the miniOrange Metadata
      NameID Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
      Assertion Signed Checked
  • Click on the Save Configuration button to save your configuration. Then click on Test Configuration button to test your configuration.
  • drupal saml idp service provider configuration

3. Pre-requisites: Download and Installation

  • To configure Single Sign-On (SSO) with Drupal as SAML IDP, you will need to install the miniOrange Single Sign On - SSO Application on your Shopify store:
  • miniOrange Provides Secure Single Sign-On (SSO) access to your Shopify applications(both plus and Non plus Stores).

4. Configure Shopify as Service Provider

  • Now go to your Shopify store and click on Apps in the left navigation bar.
  • Shopify SAML Single Sign-On SSO Login - Click on Apps
  • Select SETUP IDP button from top left navigation bar to redirect miniOrange dashboard.
  • Shopify SAML Single Sign-On SSO Login - Select SETUP IDP
  • From the left navigation bar select on Identity Provider then click on Add Identity Provider button.
  • Shopify SAML Single Sign-On SSO Login - Select Identity Provider and click on Add Identity Provider button
  • Select SAML.
  • Shopify SAML Single Sign-On SSO Login - Select SAML
  • Now click on the Click here link to get miniorange metadata as shown in Screen below.
  • Shopify SAML Single Sign-On SSO Login - click here link
  • For SP - INITIATED SSO section Select Show Metadata Details keep it handy.
  • Note: SP-Initiated SSO means that users would initiate the SSO process from the App that you configure with miniOrange.

    Shopify SAML Single Sign-On SSO Login - SP Initiated SSO
  • There are two way to configure your Service Provider:
    • A. By Import IDP Metadata
    • Click on Import IDP Metadata button.
    • Enter IDP Name.
    • You can either select File then choose a file and click on Import button or use a URL and click on Import.
    • Shopify SAML Single Sign-On SSO Login - Import metadata
      B. Manual Configuration
    • Navigate to IDP Metadata tab of Drupal SAML IDP module, here you can find IDP Entity ID or Issuer, ACS URL, SAML Login URI & X.509 Certificate. These information is required for adding Identity Source in miniOrange.
    • IDP Entity ID Identity Provider Issuer from Drupal SAML IDP Metadata tab
      SAML SSO Login URL Identity Provider Single Sign-On URL from Drupal SAML IDP Metadata tab
      X.509 Certificate X.509 Certificate from Drupal SAML IDP Metadata tab
      Shopify SAML Single Sign-On SSO Login - manual enter
    • Scroll down and Click Save button to save your configuration.
    • Shopify SAML Single Sign-On SSO Login - click on save button

    5. Test Configuration

    • Go to Configure SSO tab.
    • Click on Select >> Test Connection option against the Identity Provider you configured.
    • Shopify SAML Single Sign-On SSO Login - click on test connection

      Shopify SAML Single Sign-On SSO Login - to see your attribute

    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 modules or call us at +1 978 658 9387.

    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