Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi everyone,
we are in the process of developing an mobile app which supports the login of users on their account. With classic accounts (email and password) we could create an access token with the Storefront API (create customer access token) where we send our email and password. Now we want to authenticate with new accounts (code will be sent by email). How can we do this with the Shopify API?
Best Regards,
Aron
Solved! Go to the solution
This is an accepted solution.
Hey @Aron1610,
Shopify just recently released a brand new separate API for this. You can check it out here: https://www.shopify.com/partners/blog/introducing-customer-account-api-for-headless-stores
This is an accepted solution.
Hey @Aron1610,
Shopify just recently released a brand new separate API for this. You can check it out here: https://www.shopify.com/partners/blog/introducing-customer-account-api-for-headless-stores
Thanks for the quick help!
Hey @Aron1610
I believe the new Customer Account API can help with this: https://shopify.dev/docs/api/customer#code-challenge-verifier
Scott | Developer Advocate @ Shopify