2FAuth
Self-hosted web app to manage two-factor authentication codes
2FAuth is an open-source web application for managing two-factor authentication TOTP and HOTP accounts. It is self-hosted to store and generate one-time codes from a single secure place.
Key features
- TOTP and HOTP management
- QR code import
- Web and PWA access
- Encrypted storage
Strengths
- Released under the AGPL-3.0 license
- Easy to set up — beginner-friendly
- First-class Docker support for quick deployment
- Active community (4.2k GitHub stars)
Is 2FAuth secure?
No known vulnerabilities affect 2FAuth's latest release (v8.0.2). OSV.dev lists 5 past advisories for the project; none of them applies to this release. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.
- Most recent fixed advisory CVE-2026-32133, published 2026-03-11 (217 days ago), fixed in 6.1.0
Source: OSV.dev, checked 2026-10-14. How this is measured.
2FAuth replaces
Health badge
Maintain 2FAuth? Add its health score to your README. The badge links back to this page.
Similar identity & sso apps
Keycloak
Identity & SSOOpen-source identity and access management for modern apps
Replaces Okta, Auth0
Casbin
Identity & SSOAuthorization library supporting many access control models
Replaces Auth0 RBAC
Ory Hydra
Identity & SSOCertified OAuth 2.0 and OpenID Connect server
Replaces Okta, Auth0
SuperTokens
Identity & SSOOpen-source user authentication you can self-host
Replaces Auth0, Firebase Auth
ZITADEL
Identity & SSOCloud-native identity infrastructure with multi-tenancy built
Replaces Auth0, Okta
Logto
Identity & SSODeveloper-friendly authentication and authorization platform
Replaces Auth0, Firebase Auth