Hello all!
How do you handle if the user reaches the max attempts for passwordless login? Is there a time limit to wait before he can try again? I couldn't find any information.
r
rp_st
03/28/2023, 2:15 PM
hey @00babs00 in this case, you should get a RESTART_FLOW_ERROR status code the next time a code is attempted, and you can add a wait time if you like, but this is not needed.
You essentially want to take the user back to the first step of the login and ask them to reenter their email / phone number
u
00babs00
03/28/2023, 2:20 PM
I was wondering if this is how it works. Thank you.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).