A self-hosted web application that stores two-factor accounts and generates TOTP, HOTP, and Steam Guard codes. It targets both mobile and desktop use with a browser interface.
Overview
2FAuth is a web application for managing two-factor authentication accounts and producing one-time security codes. It is intended as a self-hosted option you run on your own infrastructure, so tokens live in a database you can back up rather than only on a phone.
You can group accounts, add entries by scanning QR codes or through a manual form, and edit imported records. The app generates TOTP and HOTP codes per RFC 4226 and RFC 6238, and also supports Steam Guard codes.
Access requires user accounts. Multi-user mode can be enabled with configurable registration rules, including SSO-only signup. Sign-in may use security keys such as Yubikey or Titan keys, with the traditional login form optional. Optional encryption protects sensitive database fields, automatic logout limits idle sessions, and imports are supported from several other authenticator export formats.
Installation guides cover self-hosted deployment including Docker (CLI and Compose), among other options. A public demo site is available to try the interface before hosting it yourself.
Key features
- Group and organize 2FA accounts
- QR code scan to add accounts
- Manual account entry form
- TOTP, HOTP, and Steam Guard codes
- Multi-user accounts and registration controls
- Security key sign-in support
- Optional encrypted sensitive data
- Import from common authenticator formats
Use cases
- Self-hosted OTP codes on desktop
- Backed-up 2FA account database
- Shared household or team 2FA vault
- Desktop login without phone authenticator
- Organized groups of many 2FA entries
Open-source alternative to
Google Authenticator“2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.” source
Does the same job as
2FAuth doesn't name these products itself, but its own description shows it does the same job.