Connect Apps to Shopify
The Shopify social connection allows users to log in to your application using their Shopify profile.
By default, Auth0 automatically syncs user profile data with each user login, thereby ensuring that changes made in the connection source are automatically updated in Auth0. Optionally, you can disable user profile data synchronization to allow for updating profile attributes from your application.
Prerequisites
Before you begin, sign up for the Shopify Partners program.
Steps
To connect your app to Shopify, you will:
Set up app in Shopify
Set up an app in Shopify using the instructions in Shopify's Public Apps documentation. 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, use the following settings:
Field | Value to Provide |
---|---|
App URL | https://YOUR_DOMAIN |
Whitelisted redirection URL(s) | https://YOUR_DOMAIN/login/callback |
Find your Auth0 domain name
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, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus.auth0.com
. For example, if your tenant name were exampleco-enterprises
, your Auth0 domain name would be exampleco-enterprises.us.auth0.com
and your redirect URL would be https://exampleco-enterprises.us.auth0.com/login/callback
. (If your tenant is in the US and was created before June 2020, then your domain name would be https://exampleco-enterprises.auth0.com
.)
If you are using custom domains, your redirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback
.
Create and enable connection in Auth0
Set up the Shopify social connection in Auth0. Make sure you have the generated API key and API secret key.
Besides the standard social connection settings, the Shopify social connection configuration includes the following:
Setting | Description |
---|---|
Shop Name | Name of your Shopify shop. Usually, this is the first part of your shop's URL (example: https://{shopname}.myshopify.com. |
Test connection
You're ready to test your connection.