Docs

Add Shopify Login to Your App

This guide will show you how to add functionality to your web app that allows your users to log in with Shopify.

Prerequisites

Before connecting your Auth0 app to Shopify, you must be a member of the Shopify Partners program.

1. Set up your app in Shopify

To learn how, see Shopify's Public Apps docs. During this process, Shopify will generate an API key and API secret key for your application; make note of these.

While setting up your app, make sure you use the following settings:

Field Value to Provide
App URL https://https://manage.auth0.com/#.auth0.com
Whitelisted redirection URL(s) https://https://manage.auth0.com/#.auth0.com/login/callback

Find your Auth0 domain name for redirects

If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, plus .auth0.com. For example, if your tenant name were exampleco-enterprises, your Auth0 domain name would be exampleco-enterprises.auth0.com and your redirect URI would be https://exampleco-enterprises.auth0.com/login/callback.

If you are using custom domains, your redirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback.

2. Create and enable a connection in Auth0

Set up the Shopify social connection in Auth0. Make sure you have the API key and the API secret key generated in Step 1.

3. Test the connection

You're ready to test your connection. After logging in, you'll be prompted to allow your app access. To do so, click Install unlisted app.

To automatically authenticate users who have already been verified by Auth0, you can use the Multipass feature.