Support TOTP two factor authentication so I can use google authenticator.
<Wikipedia> Time-based One-time Password Algorithm (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time. It has been adopted as Internet Engineering Task Force standard RFC 6238, is the cornerstone of Initiative For Open Authentication (OATH) and is used in a number of two factor authentication systems.
- QR setup code generator
- Setup code generator
- TOTP algorithm
- Passcode verifier
- Integration into the login page like yubikey
- Security review
https://github.com/komone/qrcode has the backend for such requirements.