I'm working on a nodejs project, I used passportjs in nodejs to create a login system. Everything seems ok, but I do not know how I can go about password recovery so that in the case of a lost or forgotten password, you have the option to receive a text message (SMS) or voice call to recover your account.
I want trying How To Implement Password Reset In Node.js, but the example there show password recovery via email.
I have checked this Stackoverflow questions already, but none of them helps in what I plan to archive:
- How can I send verfication codes to mobile numbers in node.js? (Like nodemailer, but for SMS)
- Password Reset In NodeJS
- reset / change password in nodejs with passportjs
I will greatly appreciate any help.
Thank a million in advance.