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

Reply 1 (1)

James105
Shopify Partner
35 1 2

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.