Use the QR code on the demo site to authenticate with your two-factor device. Use the form to submit the generated verification code and see the appropriate response.
{
"message": "Success"
}
Visit two-factor-flask.herokuapp.com.
curl --data 'code=XXXXXX' https://two-factor-flask.herokuapp.com
- Foreman or similar
$ pip install -r requirements.txt
$ echo "DEBUG=True" >> .env
$ echo "DEVEL=True" >> .env
$ echo "PORT=5000" >> .env
$ echo "WEB_CONCURRENCY=2" >> .env
$ foreman start
$ open http://localhost:5000