Two-Factor Authentication With TOTP Using Node.js And Speakeasy

added by JavaScript Kicks
3/5/2019 8:35:27 AM


Almost two years ago I had written a tutorial around 2FA in a Node.js API with time-based one-time passwords. If you're unfamiliar, two-factor authentication is becoming the norm, which it wasn't necessarily back in 2017. If you're managing user accounts in your web applications, it is critical that you offer your users a second factor of authentication to prevent phishing and malicious login attempts.