Search Results :

×

WordPress Single Sign-On (SSO) using Shopify Store as IDP – Shopify OAuth SSO

Set up Single Sign-On (SSO) on your WordPress website via Shopify WordPress SSO using our WP OAuth & OpenID Connect Single Sign-On plugin and Shopify Store as IDP application. Implementing WordPress SSO using Shopify as IDP allows users to log into your websites and applications with a single set of credentials using the Shopify Store as an IDP. Shopify acts as the IDP and WordPress acts as the OAuth Client. WordPress Shopify SSO provides smooth login between WordPress and Shopify store using Shopify SSO login credentials with a single click. The WordPress SSO plugin also provides advanced Shopify SSO features like user profile attribute mapping and role mapping. You can also protect your complete WordPress site behind Shopify SSO. Shopify WordPress OAuth SSO plugin secures the user’s login process and improves user authentication using Shopify via WordPress SSO. Follow the steps below to set up your WordPress SSO by installing this plugin.


Wordpress OAuth SSO

  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress OAuth Single Sign-On (SSO) plugin and click on Install Now.
  • Once installed click on Activate.

Shopify Store as IDP


  • Go to Configure OAuth tab and click Add New Application to add a new client application into your website.
  •  WordPress Shopify SSO OAuth - Add new application
  • Choose your Application from the list of OAuth / OpenID Connect Providers, Here Shopify.
  •  WordPress Shopify SSO OAuth - Select Application
  • Copy the Callback URL to be used in OAuth Provider Configuration and click Next.
  •  WordPress Shopify SSO WordPress SSO install oauth2
  • Go to your shopify store, click on Apps tab and select Store as IDP-SSO login application.
  •  WordPress Shopify SSO oauth provider-select-app
  • From the left navigation bar select Apps and click on Add Application button.
  •  WordPress Shopify SSO oauth provider-click-add-app
  • Go to OAuth/OIDC tab and select the IDP name as a WordPress from the list.
  •  WordPress Shopify SSO oauth provider-idp-name
  • In the Add Application Section enter the values by refering the below table.
  • Client Name Choose an appropriate name according to your choice.
    Redirect URI/ OAuth Callback URI You will get this from Step 1.
    Description Add appropriate description according to your choice.
    Group Name DEFAULT
    Policy Name WordPress
    Login Method Password
     WordPress Shopify SSO provider-endpoints  WordPress Shopify SSO provider-save
  • Click on Save to save the configurations.
  • After saving the application, click on Select and then Edit option of the application you just configured.
  •  WordPress Shopify SSO provider edit option
  • You will get the Client Id, Client Secret, Authorization Endpoint. Keep these values handy as you will require it later while configuring WordPress OAuth Single Sign-On plugin.
  •  WordPress Shopify SSO provider-keep endpoints handy

    You've successfully configured WordPress Shopify SSO using Shopify as OAuth Provider on your WordPress site, allowing users to use Shopify SSO login into the WordPress site with their Shopify store login Credentials.


  • Go to Configure OAuth tab and click Add New Application to add a new client application into your website.
  •  WordPress Shopify SSO OAuth - Add new application
  • Choose your Application from the list of OAuth / OpenID Connect Providers, Here Shopify.
  •  WordPress Shopify SSO OAuth - Select Application
  • After selecting the provider copy the Callback URL which needs to be configured in OAuth Provider's SSO application Configuration.
  • Enter the client credentials like Client ID& Client Secret which you will get from the Shopify SSO application.
  • Now, add the Customer id which you will find in the Shopify SSO application under Authorization Endpoint.
  • Note: You can either paste the Authorization Endpoint directly or manually enter the <customer_id> from Shopify.

  • Click on Next.
  •  WordPress Shopify SSO WordPress SSO install oauth2
  • After verifying all the details on the summary page, click on Finish to save the configuration as well as test the Shopify SSO connection.
  •  WordPress Shopify SSO finish setup

    You have successfully configured WordPress as an OAuth Client allowing users to securely access their digital resources using a single set of login credentials with Shopify Single Sign-On (SSO) login into your WordPress site.

  • Go to Configure OAuth tab and search your application name to add a new client application into your website, Here Shopify.
  • WordPress Shopify SSO - Add new application
  • Configure App Name, Client ID, Client Secret from Shopify Store as IDP application (Step 1).
  • Please refer the below table for configuring the scope & endpoints for Shopify in the plugin.

    Note: Once you create the Shopify account, you'll find the domain url and you will need to add the same in the below endpoints.


    Scope: openid email profile
    Authorize Endpoint: https://store.xecurify.com/moas/broker/login/oauth/
    Access Token Endpoint: https://store.xecurify.com/moas/rest/oauth/token
    Get User Info Endpoint: https://store.xecurify.com/moas/rest/oauth/getuserinfo
     WordPress Shopify SSO - Add App name, TenantID
  • Choose your Grant Type from the list of options & Click on Save Settings to save the configuration..
  •  WordPress Shopify SSO - Add Grant Type

    You have successfully configured Wordpress Shopify SSO using Shopify store credentials. Allow users to SSO into wordpress site by making wordpress an OAuth client and Shopify as IDP.


  • User Attribute MapShopify is mandatory for enabling users to successfully login into WordPress. We will be setting up user profile attributes for WordPress using below settings.
  • Finding user attributes

    • Go to Configure OAuth tab. Scroll down and click on Test Configuration.
    •  WordPress Shopify SSO - test congifuration
    • You will see all the values returned by your OAuth Provider to WordPress in a table. If you don't see value for First Name, Last Name, Email or Username, make the required settings in your OAuth Provider to return this information.
    • Once you see all the values in Test Configuration, go to Attribute / Role MapShopify tab, you will get the list of attributes in a Username dropdown.
    • WordPress Shopify SSO - attribute/role mapShopify

  • Go to WordPress Left Panel > Appearances > Widgets.
  • Select miniOrange OAuth. Drag and drop to your favourite location and save.
  •  Shopify Single Sign-on (SSO) - WordPress create-newclient login button setting
  • Go to WordPress Left Panel > Appearances > Widgets.
  • Select miniOrange OAuth. Drag and drop to your favourite location and save.
  • Shopify Single Sign-on (SSO) - WordPress create-newclient login button setting
  • Open your WordPress page and you can see the Shopify SSO login button there. You can test the Shopify Single Sign-On (SSO) now.
  • Make sure the "Show on login page" option is enabled for your application. (Refer to the below image)
  • WordPress Shopify SSO login button setting
  • Now, go to your WordPress Login page. (Eg. https://< your-wordpress-domain >/wp-login.php)
  • You will see an Shopify SSO login button there. Once you click the login button, you will be able to test the Shopify Single Sign-On (SSO).
  • WordPress Shopify SSO login button setting


WordPress Single Sign-On (SSO) via Shopify should now be successfully configured with Shopify Store as the OAuth Provider and WordPress as the OAuth Client. WordPress Shopify SSO should fulfill all your needs with features like multi-factor authentication, multiple grant type support, attribute mapShopify, role mapShopify, etc. You can also protect your complete WordPress site behind Shopify SSO.




Please reach out to us at oauthsupport@xecurify.com, and our team will assist you with setting up the Shopify SSO application. Our team will help you to select the best suitable solution/plan as per your requirement.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support