How to add Google Authenticator to my website?

I have a web application that Angular2 on the frontend and NodeJS on the backend. I want to allow customers to use Google Authenticator to make their accounts more secure.

How can I implement / use Google Authenticator on my website? I cannot find an API to use and / or tutorials for later use or any libraries to use. Where can I find resources for this?

+5
source share
1 answer

The key phrase you're looking for is "TOTP" (one-time password based on time) - Google Authenticator implements a very well-defined specification . The SpeakEasy node implementation seems pretty popular on github.

+8
source

Source: https://habr.com/ru/post/1269266/


All Articles