Implementing secure two factor authentication with Google Authenticator?

I would like to add two factor authentication to a login screen. My understanding of the process is the following:

Generate a QR Code
Scan this Code with Google Authenticator app
Use a library to check if the Google authenticator code mat… Continue reading Implementing secure two factor authentication with Google Authenticator?