Two Factor Authentication (2FA) with Google Authenticator & PHP – Tutorial

Note: This tutorial is an improvement over the article written by Rich Barrett on medium.com way back in Nov 2017 (see this link). However, there are some missing parts in that article that are necessary to complete the circle. This write-up tried to address those gaps. Introduction Google Authenticator is a token generator, that generates random and unique tokens for a validity of 30 seconds. Many web applications these days implement two-factor authentication in some form or the other. One of the popular methods is…

Read More »

error: Uh oh ...