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

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)

Shopify Partner
35 1 2

You can look at how shopify hydrogen did it.


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