Storefront API: customer access token with new accounts

Solved
Aron1610
Visitor
2 0 0

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 

Accepted Solution (1)
Brett_Helium
Shopify Partner
144 32 52

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

Brett | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (330+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (250+ reviews)

View solution in original post

Replies 3 (3)
Brett_Helium
Shopify Partner
144 32 52

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

Brett | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (330+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (250+ reviews)
Aron1610
Visitor
2 0 0

Thanks for the quick help!

SBD_
Shopify Staff
Shopify Staff
1602 227 334

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