Storefront API: customer access token with new accounts

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

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

Hey @Aron1610

I believe the new Customer Account API can help with this: https://shopify.dev/docs/api/customer#code-challenge-verifier

Thanks for the quick help!

Hi @Aron1610

I am having a similar problem with your topic, I am still having trouble looking through the Shopify Customer Account API and do not know if you have found a solution for this feature yet?

Best wishes,

Nhan Truong