Search Results :

×

Drupal Single Sign-On (SSO) using Shopify store as Identity Provider


Drupal SAML Shopify store SSO setup will allow your user to login to your Drupal site using their Shopify store Credentials. Drupal SAML module gives the ability to enable SAML Single Sign-On for Drupal. This module is compatible with all SAML Identity Providers ( IDP ). Here we will go through a guide to configure SAML SSO between Drupal and Shopify store IDP. By the end of this guide, users from your Shopify store should be able to login into the Drupal site.

Pre-requisite : Store as IDP - SSO Login Application

To configure SSO into Drupal site with Shopify store as IDP, you will need to install the miniOrange Store as IDP- SSO Login Application on your store

miniOrange Provides Secure Single Sign-On (SSO) access to your application using Shopify Store as IDP.


Steps to configure SAML Single Sign-On (SSO) Login into Drupal site using Shopify store as IDP

1. Get metadata from the Drupal site Service Provider

  • Login in your Drupal site’s admin console and click on Extend from the top navigation bar.
  • Select the Install new module option to install a new module on your Drupal site.
  • Drupal SAML Service Provider - Click on Install new module
  • Upload the downloaded zip file of the Module and click on the Install button to continue.
  • Drupal SAML Service Provider - Click on Upload
  • Select Enable newly added modules.
  • Drupal SAML Service Provider - Click Enable newly added modules
  • Scroll down till you find miniOrange SAML Service Provider. Click on the checkbox next to it and click on the Install button to enable the module.
  • Drupal SAML Service Provider - Scroll down to find miniOrange SAML Service Provider and enable the module
  • Click on Configuration from the top navigation bar and Select miniOrange SAML Login Configuration.
  • Drupal SAML Service Provider - Click on Configuration and select miniOrange SAML Login Configuration
  • In the miniOrange SAML Service Provider module, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID / Issure, SP ACS URL (AssertionConsumerService) and X.509 Certificate which are required to configure the Identity Provider ( Shopify Store ), Copy it and keep it handy.
  • Drupal SAML Service Provider - copy the sp entity id or issue, acs url, saml login url and certificate form service provider metadata tab

2. Configure Shopify store as Identity Provider

  • Now go to your shopify store, click on Apps tab and select Store as IDP-SSO login application.
  • Shopify Single Sign-On (SSO) in wordpress oauth provider
  • Click on the Setup Application button in the left navigation bar.
  • Shopify Single Sign-On (SSO) in wordpress oauth provider
  • From the left navigation bar select Apps and click on Add Application button.
  • Shopify Single Sign-On (SSO) in wordpress oauth provider
  • Go to SAML tab and search for drupal and select Drupal (SAML).
  • search and select for drupal site - shopify as idp
  • Enter the values corresponding to the information from Drupal site. Refer to the table below.
  • Service Provider Name Name of your Service Provider.
    SP Entity ID or Issuer Copy and paste the SP-Entity ID from Step 1.
    ACS URL Copy and paste the ACS URL from Step 1.
    NameID Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
    Assertion Signed Checked
  • Click on the Save button to save your configuration.
  • Now navigate to Select option and choose Metadata tab.
  • idp metadata under select option - shopify as idp
  • Now click on Show Metadata Details under INFORMATION REQUIRED TO AUTHENTICATE VIA EXTERNAL IDPS section. Click on Download Metadata or copy down these data as they will be used in furthur steps.
  • idp metadata - shopify as idp for drupal site lms
    shopify as idp for sso into drupal site - identity provider metadata
You have successfully completed Shopify side configuration.

3. Configure Drupal site as Service Provider

  • In the miniOrage SAML Service Provider module, go to Service Provider Setup tab of the module. There are two way to configure Drupal SAML Service Provider SSO module:
    • A. By Uploading IDP Metadata
    • Click on Upload IDP Metadata link.
    • Click on Upload Metadata File >> Choose File and Select the downloaded file from Step 2. Click on Upload File to fetch your information.
    • Drupal SAML Service Provider - upload idp metadata
      B. Manual Configuartion
    • Provide the required data (i.e. Identity Provider Name, Idp Entity ID or Issuer, SAML Login URL, SAML Logout URL and X.509 Certificate ) from your Identity Provider (Shopify store) and click on Save Configuration button to save your configuration.
    • Identity Provider Name Enter name of Identity Provider
      Idp Entity ID or Issuer Copy Idp Entity ID / Issuer from Step 2 and paste it.
      SAML Login URL Copy Single Sign On URL from Step 2 and paste it.
      SAML Logout URL Copy Single Sign out URL from Step 2 and paste it.
      X.509 Certificate Copy and Download Signing certificate from Step 2 and paste it.
      Drupal SAML Service Provider - Manual configuartion
You have successfully completed Drupal side configuration.

4. Testing SSO for Drupal site

  • Go to your Drupal site login page.
  • Click on the login button . You’ll be redirected to the login page of the Shopify store.
  • select project google oauth provider
  • Enter your Shopify Store login credential and click on Login. You will be automatically logged in to your Drupal site.

You have successfully configured Shopify as Identity Provider for your Drupal site.

Let's begin and Setup Single Sign-On (SSO) with popular Service Providers

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