
This might be a strange scenario but I want to know if it's possible I can implement user auth through both the ways in my app: by sending email OTP and by using email id+password combo
Ie, a user can either choose to be sent an OTP on his email or just type in his email id and password while signing in.
I hope that makes sense๐ญ๐ญ

sure why not? Whats the issue are you facing? You can do something like this -
- Show email field > Send OTP Button >
account.createEmailToken
Refer - https://appwrite.io/docs/products/auth/email-otp - Show email field & Password field >
account.createEmailPasswordSession
Refer - https://appwrite.io/docs/products/auth/email-password#login
Recommended threads
- Error while login the member which is in...
Facing some error. Error logging in: Exception: No team access. Please contact your administrator. But the email/name/ new client I have created is in my tea...
- Image Transformation Issue
My project was working with images normally, I never processed them or anything, and today, suddenly when trying to add or update images from the project, it st...
- easiest way to ban an IP from appwrite
for example, lets say that i have an app where people can post cars, and someone is constantly spamming my app with trucks, is there a way to ban that user IP s...
