OTP Next Auth login option
Unanswered
Polar bear posted this in #help-forum
Polar bearOP
Hi, Team! I'm still new to new versions of Nextjs. May I ask if there's a way to send an OTP to email so they can login successfully? I was able to create a custom emailprovider using resend which sends a magic link. How can I convert this into an OTP login?
2 Replies
Polar bearOP
I was able to send the OTP via email. However, I'm confused as to how to verify the OTP now. I added the OTP input to verify-request page. What's the best way to verify OTP and reduce any issues for security breaches or bruteforce.
Polar bearOP
Or is there any tutorial I can check to know how to use OTP in next auth?