Shopify 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 Shopify 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. This module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.
Installation Steps
- Using Composer
- Using Drush
- Manual Installation
Pre-requisites :
- Install and activate the miniOrange Single Sign On-SSO application on your Shopify store.
Configuration Steps
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)
- Under the IDP Metadata tab, click on the Download Metadata button. Keep it handy. (This information is required to configure Shopify as SAML SP.)
Configure Shopify as Service Provider
- Go to your Shopify Store, click on the Apps tab, and select the miniOrange Single Sign On - SSO application.
- Click on the SETUP IDP from the left side.
- Under Configure SSO → Click on Add Identity Provider button.
- Search for SAML SP in search box and select SAML SSO for Joomla plugin.
- 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.
- Enter the IdP name and select File radio button.
- Click on Import.
- Scroll to the bottom and click on the Save button.
- Click on Select → Metadata link against the app under the Configure SSO menu.
- 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.)
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.
- 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.
- 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.
- Click on the Select → Test Connection against the configured Identity Provider (DrupalSAML).
- Once the test configuration is successful, you will see the list of user attributes that are received from Drupal (IdP).
Why choose us:
[MO_CONTACT_US]