To connect your Auth0 app to Shopify, you will need to create an app on the Shopify Partner portal to generate API Key and Shared Secret, copy these credentials into your Auth0 settings, and enable the connection.

User profile not available

Due to Shopify's OAuth implementation, successful user authentication returns the Shop profile, not the user profile.

1. Create an app on the Shopify Partner portal

Login to the Shopify Partner portal. Select Apps in the left nav and click Create a new app:

2. Create your app

Complete the form.

In the fields below, enter the following:

  • App URL:
  • Redirection URL:

Click Create app.

3. Get your API Key and Shared Secret

On the page that follows, your API Key and Shared Secret will be displayed. Save these for use in the next step.

4. Enter your API Key and Shared Secret into Auth0

In a separate window, go to the Connections > Social section of the Auth0 Dashboard.

Select Shopify:

Copy the API Key and Shared Secret from the Apps page on Shopify into the fields on this page on Auth0.

Enter your Shop name.

Select the Permissions you want to enable.

Click SAVE.

5. Enable the Connection

Go to the Apps tab of the Shopify connection on Auth0 and select each of your existing Auth0 apps for which you want to enable this connection:

6. Test the connection

Close the Settings window to return to the Connections > Social section of the Auth0 dashboard.

A TRY icon will now be displayed next to the Shopify logo:

Click TRY.

Login to your Shopify store.

Click Install app to allow your app access.

If you have configured everything correctly, you will see the It works!!! page:

Shopify Multipass

You can use Shopify's Multipass feature to automatically authenticate users who have already been verified by Auth0 on Shopify.

Next Steps

Now that you have a working connection, the next step is to configure your application to use it. You can follow our step-by-step quickstarts or use directly our libraries and API.

Was this article helpful?