Search Results :

×

Shopify Single Sign-On (SSO) solution using WSO2 as Identity Provider (IDP)


How can we Authentication users into Shopify using WSO2 as Identity Provider?

WSO2 Single Sign On (SSO) for Your Shopify store. miniOrange allows WSO2 to act as an IDP (Identity Provider), which allows users to Single Sign-On (SSO) into Shopify using WSO2 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 store using WSO2 as IdP (Identity Provider) and Shopify as SP (Service Provider).

Pre-requisite : Single Sign On - SSO Application

To configure SSO into Shopify using WSO2 as 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 Store(both plus and Non plus Stores).


Step by Step guide for Configuring WSO2 as IDP for SSO into Shopify

1.  Configuring miniOrange as Service Provider (SP) in WSO2

  • Let’s first register in WSO2 Identity Server (IS).
  • Download and start WSO2 using wso2server.bat run command.
  • Enter Username and Password as admin. Click on Sign in.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify -  management console
  • From the Left Navigation Menu Click on ADD under Service Provider Tab.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - add service provider
  • Add Service Provider name according to your preference and add description if necessary.
  • Click on Register.

    shopify wso2 sso - register service provider
    WSO2 as IDP -Single Sign-On(SSO) for Shopify - service provider
  • Under Claims configuration select https://wso2.org/claims/emailaddress from Subject Claim URI dropdown.
  • Add following URIs in Service Provider Claim Dialect: https://wso2.org/oidc/claim & https://wso2.org/claims.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - claims configuration
  • Click on Inbound Authentication Configuration.
  • Select SAML2 Web SSO Configuration from the dropdown. Click on Configure.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - configure saml2 web configuration
    WSO2 as IDP -Single Sign-On(SSO) for Shopify - add acs url
  • For Manual configuration you need to get the Entity ID and ACS URL from Shopify.
  • Go to your Shopify store, click on the Apps tab and select the Single Sign On - SSO Login application.
  • shopify app section - single sign on application
  • Click on the Setup IDP button in the top left in the 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 Identity Provider. Click on Add Identity Provider.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - add identity provider
  • Click on the Click here link to get miniOrange metadata as shown in screen below.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - get miniorange metadata
  • For SP -INITIATED SSO section Select Show Metadata Details.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - sp initiated metadata
  • Enter the values in Manual configuration as shown in below screen.

    Issuer Entity ID or Issuer
    Assertion Consumer URL ACS URL
  • Uncheck the Enable Response Signing, Enable Signature Validation in Authentication Requests and Logout Requests and Enable Single Logout.
  • Click on Register at the very bottom of the page.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - register sp details
  • On Successful registration , you could see the below screen.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - sp added successfully
  • Now go in list in Service Provider tab. Click on Edit against your configure app.
  • Click on Edit SAML2 Web SSO Configuration.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - edit saml2 configuration
  • Click on Download IDP Metadata option at the bottom the page. You will need this metadata in Step 2.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - download idp metadata
  • To add users in WSO2 : Click on ADD under Users and Roles in the Left Navigation Menu. Then Click on Add New User.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - wso2 add user
  • Enter Username and Password. Click on finish.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - wso2 add username and password
    WSO2 as IDP -Single Sign-On(SSO) for Shopify - wso2 user added successfully
  • Hence the user is Successfully added in WSO2.
You have successfully completed WSO2 side configuration.

2.  Configuring WSO2 as Identity Provider (IDP) in Shopify


  • Again, go to your Shopify store, click on the Apps tab and select the Single Sign On - SSO Login application.
  • shopify app section - single sign on application
  • Click on the Setup IDP button in the top left in the 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 Identity Provider. Click on Add Identity Provider.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify -  add identity provider

  • Select SAML. Click on Import IDP metadata.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - import idp metadata

  • Choose appropriate IDP name and and browse for the file downloaded in step 1.
  • Click on Import.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - import metadata
  • 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.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - sso 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.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - test connection

    shopify wso2 sso - sign in page
  • On entering valid WSO2 credentials you will see a pop-up window which as shown in below screen.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - share attribute with miniorange
  • Click on Select all to share the WSO2 user attributes with miniOrange.

    WSO2 as IDP -Single Sign-On(SSO) for Shopify - test connection successful

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 you have successfully configured Shopify Single Sign-On (SSO) using WSO2 as IDP and miniOrange as SP using miniorange Single Sign-On (SSO) login application. This solution ensures that you are ready to roll out secure access to your Shopify store using WSO2 login credentials within minutes.

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