Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: How can I integrate Identity Provider into Customer registration and login flow for free?

How can I integrate Identity Provider into Customer registration and login flow for free?

romadruzhkov
Tourist
3 0 2

I'd like my customers to use Identity Provider (Auth0) for logging in a store account and signing up for the store account.

 

It's not possible for me to pay for Shopify Plus to access Shopify Multipass feature or to pay for Shopify Marketplace app either.

 

Currently, I don't see clear way of integrating Auth0 into customer log in or sign up process. However I know that there is a Shopify Marketplace app called miniOrange Single Sign On‑SSO that somehow manages to integrate Indentity Provider into customer log in or sign up process, so it looks like there is a way.

 

Could anyone share ideas and thoughts on how to integrate Identity Provider into Customer registration and login flow for free?

Replies 4 (4)

chipcastle
Shopify Partner
5 0 2

I'm in the same boat. Did you find a solution? Thanks in advance!

romadruzhkov
Tourist
3 0 2

We were developing mobile app. 

 

We found the following approach possible:

  • Develop registration endpoint which will
    • Verify Auth0 token
    • Generate Shopify Customer password
    • Save Customer password and email in database
    • Create Shopify Customer using Customer email and password
    • Get Shopify Customer access token using it's credentials
    • Return generated Shopify access token
  • Develop login endpoint
    • Verify Auth0 token
    • Get Shopify Customer Shopify access token using it's credentials from database
    • Return generated Shopify access token
  • Utilise mentioned endpoints in mobile app

 

This approach have a lot of disadvantages:

  1. Shopify API will throttle 
  2. Saving credentials in plain text is a big security problem

We didn't adopt the approach because of mentioned problems.

chipcastle
Shopify Partner
5 0 2

Thank you for your detailed answer!

romadruzhkov
Tourist
3 0 2

You are welcome 🙂