# Shopify & Auth0

**URL:** <https://community.auth0.com/t/shopify-auth0/98035>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [January 12, 2023, 9:37am UTC](https://community.auth0.com/t/shopify-auth0/98035 "2023-01-12T09:37:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![loki](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/loki/32/42573_2.png) [@loki](https://community.auth0.com/u/loki)\
**Post date:** [January 12, 2023, 9:37am UTC](https://community.auth0.com/t/shopify-auth0/98035/1 "2023-01-12T09:37:03Z")

</div>

Hi there,

I’m currently building a marketplace & the e-commerce third party I’m using is Shopify. This is purely for an MVP purpose, & I know I don’t want to keep this solution forever. Here comes Auth0. I would love to use Auth0 right now for the user management, login, signups etc.  
The thing is, Shopify needs customers to be created on its side as well in order to link it to orders. Do you know how to achieve this? Should I do it manually? Or do you have a way to connect to Shopify to replace their authentication/customer feature?

(I don’t have Shopify Plus btw, so I can’t use their “multipass” feature).

Thanks!

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [January 24, 2023, 2:44pm UTC](https://community.auth0.com/t/shopify-auth0/98035/2 "2023-01-24T14:44:27Z")

</div>

Hi @loki

Welcome to the Auth0 Community.

There maybe a couple of options for you.

If it was easier for you to use Shopify as your IdP (your user base is there but you can login to your Auth0 apps with those accounts) you could use our integration [https://marketplace.auth0.com/integrations/shopify-social-connection](https://marketplace.auth0.com/integrations/shopify-social-connection) also see here [https://community.auth0.com/t/create-shopify-connections-for-customers/91149](https://community.auth0.com/t/create-shopify-connections-for-customers/91149)

More specifically to your scenario, you may prefer to keep Auth0 as your IdP in which case once a user is created/signed up in Auth0, you can configure a [Post User Registration Action](https://auth0.com/docs/customize/actions/flows-and-triggers/post-user-registration-flow) where you let Shopify know a user has been created/signed up and send the user\_id across as a link and have Shopify create the user at their end with the Auth0 Id sent for mapping/linking purposes, Shopify can then use that account for orders etc.

Would any of these options work for you?

Warm regards.

---

<div class="post-metadata">

**Author:** ![loki](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/loki/32/42573_2.png) [@loki](https://community.auth0.com/u/loki)\
**Post date:** [January 24, 2023, 5:45pm UTC](https://community.auth0.com/t/shopify-auth0/98035/3 "2023-01-24T17:45:45Z")

</div>

Hi Saqib,

Indeed, I would like to have Auth0 being my main IdP. However I wonder how it would work with the Shopify API:  
The customers on Shopify are associated to orders for example, and the way to retrieve the orders for shopify is to query a customer, then their order on the GraphQL API.

> **[customer](https://shopify.dev/api/storefront/2023-01/queries/customer#argument-customer-customeraccesstoken)**
>
> Find a customer by its access token.

As you can see, the parameter here is based on the customer token we retrieve from the authentication. So how would it work if we had Auth0 taking care of the authentication instead of shopify?

Thanks 🙏

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [January 25, 2023, 4:38pm UTC](https://community.auth0.com/t/shopify-auth0/98035/5 "2023-01-25T16:38:20Z")

</div>

Hi @loki,

It looks like there are various ways to create a customer and view orders e.g. the Admin API [https://shopify.dev/api/admin-rest/2023-01/resources/customer#post-customers](https://shopify.dev/api/admin-rest/2023-01/resources/customer#post-customers) using a Shopify Access Token which you may be able to get without user (customer) credentials [https://shopify.dev/api/admin-graphql/2023-01/queries/orders](https://shopify.dev/api/admin-graphql/2023-01/queries/orders) via your application.

[https://shopify.dev/api/usage/authentication#api-access-modes](https://shopify.dev/api/usage/authentication#api-access-modes)

There also appears to be support for OAuth 2.0 flow to enable you to get access tokens [https://shopify.dev/apps/auth/oauth](https://shopify.dev/apps/auth/oauth), there’s an example here that uses client credentials [https://shopify.dev/apps/auth/oauth/getting-started](https://shopify.dev/apps/auth/oauth/getting-started) which might be a good fit for you to query their API.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 8, 2023, 4:39pm UTC](https://community.auth0.com/t/shopify-auth0/98035/6 "2023-02-08T16:39:10Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [September 30, 2025, 4:04pm UTC](https://community.auth0.com/t/shopify-auth0/98035/8 "2025-09-30T16:04:38Z")

</div>

Heads up, team!

The new Shopify Customer Accounts experience now supports external IdPs via OIDC, so you can plug in Auth0 for MFA, passwordless, SSO, and attack protection while keeping a familiar “Sign in with Shop” option for your customers. Check the details in our blog post

> **[Shopify + Auth0: A New Era for Retail Customer Identity](https://auth0.com/blog/shopify-auth0-a-new-era-for-retail-customer-identity/)**
>
> Discover how Shopify and Auth0 are teaming up to help retailers upgrade their customer login experience. Learn about enterprise-grade sec...

- How to configure Auth0 as the Shopify IdP: [How to Connect Auth0 with Shopify: A Tech Quick Start Guide](https://auth0.com/blog/how-to-connect-auth0-with-shopify-a-tech-quick-start-guide/)
- Sign in with Shop listing on Marketplace: [https://marketplace.auth0.com/integrations/shop](https://marketplace.auth0.com/integrations/shop)
- Shopify Customer Accounts - New vs Legacy: [https://help.shopify.com/en/manual/customers/customer-accounts](https://help.shopify.com/en/manual/customers/customer-accounts)
