Rank 2: Process
How can reset password without using SMTP service , currently i am using appwrite login.
Votes
0
Replies
10
Participants
Unknown
Messages
11
Rank 2: Process
How can reset password without using SMTP service , currently i am using appwrite login.
Rank 2: Process
is this is possible?
Admin
Do you actually need a production solution for end users?
Rank 2: Process
did not understand, what do you mean by end users
Admin
Do you need this in production or are you just testing?
How do you expect a user to verify they own the account?
Rank 2: Process
right now for testing but in future will use for production, actually i am also thinking how will user verify not sure yet, that is why i asked is it possible without using smtp service. because just seen Update password method in document.
Rank 2: Process
is my answer is confusing ?
Admin
You need SMTP or you need to implement password recovery manually using functions
Rank 2: Process
it means without smtp its not possible to reset password nor from appwrite side. or have to use oAuth service for forget password, right ?
Admin
Correct, you wouldn't be able to use Appwrite's password reset.
If you're using oauth, the password is in the auth provider and it depends on the auth providers password reset flow
Rank 3: Container
I once did something like this by using EmailJS API. I created an OTP generator cloud function that sends an OTP to a user's email upon registration and stored the OTP temporarily. When the user enters the OTP sent, another cloud function verifies the account. It took me about an hour and hafl. Lol