SAML Single Sign-On (SSO) For Shopify Using Azure AD as Identity Provider


miniOrange allows Azure AD to act as an IDP (Identity Provider), which allows users to Single Sign-On (SSO) into Shopify using Azure AD Credentials. Our application is compatible with all the SAML / OAuth compliant Identity Providers. We will go through a step-by-step guide to configure Single Sign-On (SSO) into Shopify using Azure AD as IdP (Identity Provider) and Shopify store as SP (Service Provider).

Pre-requisite : Single Sign On - SSO Application

To configure SSO into Shopify using Azure AD as IDP, you will need to install the miniOrange Single Sign On - SSO Login Application on your Shopify store:

miniOrange Provides Secure Single Sign-On (SSO) access to your Shopify stores (both plus and Non plus Stores).


Step by Step guide for Single Sign-On in Shopify Store Using Azure AD

1.  Configuring Shopify as Service Provider (SP) in Azure AD

  • Log in to Azure AD Portal
  • Select Azure Active DirectoryEnterprise Applications.
  • azure ad sso Enterprise Applications
  • Click on New Application.

  • azure ad sso New Application
  • Click on Non-gallery application section and enter the name for your app and click on Add button.
  • azure ad sso Non-gallery application
  • Click on Single sign-on from the application's left-hand navigation menu. The next screen presents the options for configuring single sign-on. Click on SAML.
  • azure ad sso Single sign-on azure ad sso configuring single sign-on azure ad sso navigation menu
  • For the above SAML configuration you need to get the Entity ID and ACS URL from Shopify
  • Now go to your Shopify store and navigate to App section and click on Single Sign On - SSO login application.

    shopify app section - single sign on application
  • Click on Setup IDP button in the top left in navigation bar.

    Single Sign-On (SSO)for Shopify (Plus and Non Plus), Configure IDP for enabling Single Sign-On (SSO)
  • Click on Configure SSO >> Add Identity Provider.

    Azure AD shopify sso add identity provider
  • Select SAML protocol. Now click on the Click here link to get miniOrange metadata as shown in Screen below.

    Azure AD sso get miniorange metadata
  • For SP - INITIATED SSO section Select Show Metadata Details.
  • Azure AD sso SPintiatedMetadata
  • Enter the values in basic SAML configuration as shown in below screen
  • Identifier (Entity ID) Entity ID or Issuer
    Reply URL (Assertion Consumer Service URL) ACS URL
  • By default, the following Attributes will be sent in the SAML token. You can view or edit the claims sent in the SAML token to the application under the Attributes tab.

  • azure ad sso Attributes tab
  • Download Federation Metadata xml. This will be used while configuring the Azure AD as IDP in Step 2.

  • azure ad sso Federation Metadata xml
  • Assign users and groups to your SAML application.
  • As a security control, Azure AD will not issue a token allowing a user to sign in to the application unless Azure AD has granted access to the user. Users may be granted access directly, or through group membership.
  • Click on Users and groups from the applications left-hand navigation menu. The next screen presents the options for assigning the users/groups to the application.
  • azure ad sso-13
  • After clicking on Add user, Select Users and groups in the Add Assignment screen.
  • The next screen presents the option for selecting user or invite an external user. Select the appropriate user and click on the Select button.
  • azure ad sso selecting user or invite an external user
  • Here, you can also assign a role to this user under Select Role section. Finally, click on Assign button to assign that user or group to the SAML application.
  • azure ad sso SAML application
You have successfully completed Azure AD side configuration.

2.  Configure Azure AD as Identity Provider (IDP) in Shopify

  • Again navigate to the App section of Shopify store and click on Single Sign On - SSO Login application.

    shopify app section - single sign on application
  • Click on Setup IDP button in the top left in navigation bar.

    Single Sign-On (SSO)for Shopify (Plus and Non Plus), Configure IDP for enabling Single Sign-On (SSO)
  • From the left navigation bar select Configure SSO and click on Add Identity Provider.

    Azure AD Single Sign On SSO add identity provider
  • Select SAML and click on Import IDP metadata.

    Azure AD Single Sign On SSO select saml
  • Choose appropriate IDP name. Browse for the file downloaded in step 1.
  • Click on Import.
  • azure ad Import
  • As shown in the below screen the IDP Entity ID, SAML SSO Login URL and x.509 Certificate will be filled from the file imported.
  • SAML SSO Login URL and x.509 Certificate
  • Click on Save.
  • You have successfully completed Shopify side configuration.

3.  Test Connection

  • Go to Identity Providers tab.
  • Click on Select>>Test Connection option against the Identity Provider you configured.
  • azure AD IDPTestConnection
    azure AD login
  • On entering valid Azure Ad credentials you will see a pop-up window which as shown in below screen.
  • SucessTestConn AZure AD IDP

4.   Testing SSO for your Shopify Store

  • Go to your Shopify Store login page.(https://<your-shopify-storedomain>/account/login)
  • Click on the login button you customized earlier.
  • select project google oauth provider
  • You’ll be redirected to the login page of the IDP you configured in previous step. Log in with your IDP account credentials.
  • You’ll be successfully logged in to your Shopify store.
Hence your configuration of Azure AD as IDP in Shopify is successfully completed.

Choose your preferred Identity Provider and start setting up SSO for Shopify right away


Additional Resources


If you are looking for anything which you cannot find, please drop us an email on shopifysupport@xecurify.com

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