Self-hosted web app to manage 2FA accounts and generate their codes
open sourceAGPL-3.0-onlyself-hostablefree
2FAuth is a self-hosted web app that replaces phone authenticator apps like Google Authenticator: it stores your two-factor authentication accounts in your own database and generates TOTP, HOTP and Steam Guard codes in a clean interface for mobile and desktop, following RFC 4226 and RFC 6238. You add accounts by scanning or decoding QR codes or with an advanced form, organise them in groups, and edit them, including imported ones. It supports several users, sign-in with security keys such as a YubiKey (WebAuthn), optional encryption of sensitive data in the database and automatic logout. It's a Laravel (PHP) app, installed with Docker or on any PHP server.
Problems it solves
- keep my 2FA codes in a database I can back up instead of on my phone
- get 2FA codes on my desktop without taking out my phone
- self-host an alternative to Google Authenticator
- share a place for 2FA codes between several people on my server
Features
- TOTP, HOTP and Steam Guard codes
- add accounts by QR code or form
- groups
- multi-user
- WebAuthn security key sign-in
- optional database encryption
- auto logout