
As the title says, I'm using email otp to authenticate users, I use createSession to send the first otp, but if the user didn't receive the otp how to send it again? I tried using the same method but then I get the error you can't have multiple active sessions. Is there a method for this?
TL;DR
Developer is struggling with how to resend an email OTP for user authentication after the initial attempt fails. Attempting to use the createSession method again results in an error about multiple active sessions. Looking for a solution to resend the OTP.
Solution: Instead of creating a new session, developers can add a resendOTP method within the same session to send the OTP again without conflicting with the active sessions.Recommended threads
- Document Data is null.
I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot) The permission I have ar...
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
- cli 5.0.5 command for pull and push of d...
Hi i am using selfhosted appwrite 1.5.10, for migration (duplicate project) purpose i am using cli 5.0.5, but i am unable to find commands for pull and push, wh...
