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.

Storefront API: customer access token with new accounts

Solved

Storefront API: customer access token with new accounts

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
297 57 134

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
- Customer Fields ✪✪✪✪✪ (360+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (290+ reviews)
- Strike Automatic Discounts NEW!

View solution in original post

Replies 4 (4)

Brett_Helium
Shopify Partner
297 57 134

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
- Customer Fields ✪✪✪✪✪ (360+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (290+ reviews)
- Strike Automatic Discounts NEW!
Aron1610
Visitor
2 0 0

Thanks for the quick help!

SBD_
Shopify Staff
1831 273 423

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 

NhanTruong
Shopify Partner
1 0 0

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