This is a POC Project to test TOTP in 2FA.
RFC 6238: TOTP: Time-Based One-Time Password Algorithm
$ pyvenv-3.5 env
$ source env/bin/activate
$ pip install -r requirements
$ python app.py
- Login in the app ( email / password)
Once you login a QR is generated linked to the email provided. - Verify Token
Introduce your email and TOTP and check if it is valid