How to implement Login using OTP using Storefront/admin API and GraphQL

How to implement Login using OTP using Storefront/admin API and GraphQL

brahmbhattnilay
Shopify Partner
1 0 0

I implement the customer's login using email and password but my website has OTP login feature which is enabled from admin settings.

How can i implement same feature in my application using API? 

Screenshot 2024-05-07 at 6.11.32 PM.png

Replies 2 (2)

jamalsoueidan
Shopify Partner
66 3 10

You can look at how shopify hydrogen did it.

 

https://hydrogen.shopify.dev/

 

Go to github sourcecode and look at that, there is a package you can use.

xlance
Shopify Partner
5 0 1

Did you figure out any solution?