Use Shopify Customer for Auth0 Login

mariosommer
Shopify Partner
2 0 0

Hi there! 

I am trying to build a Auth0 Application which uses the Shopify Customers as single source of truth. 

  • I can't use multipass - to expensive
  • I can't use Storefront API - customer data (e.g. emails) would be publicly available

Creating & Updating Customers is possible via Admin API, but how do I verify if Username/Password is correct? 

Is there a way?

Replies 3 (3)
lsalomon
Shopify Partner
4 0 0

hi @mariosommer !

I'm trying to do the same thing in my company, did you find a way ?

Best,

Laurent

mariosommer
Shopify Partner
2 0 0

yes, have a look at: customerAccesstokenCreate - if the token is valid I then fetch the customer by using said token.

lsalomon
Shopify Partner
4 0 0

Thank you very much for such a quick reply !! I'm gonna have a look right away ! Keep you posted !