In this article I'm going to introduce an authentication scheme known as two factor authentication. As the name implies, this method requires the user to provide two forms of identification: a regular password and a one-time token. This greatly increases account security, because a compromised password alone is not enough to gain access, an attacker also needs to have the token, which is different
![Two Factor Authentication with Flask](https://cdn-ak-scissors.b.st-hatena.com/image/square/1b4b1699817aefe2788e459f720300082d057338/height=288;version=1;width=512/https%3A%2F%2Fblog.miguelgrinberg.com%2Fstatic%2Fcards%2Ftwo-factor-authentication-with-flask.jpg)