
2FAuth
Web-based TOTP/HOTP authenticator and 2FA account manager
4.1k stars 296 forks last commit first released AGPL-3.0
Actively maintained
Last commit 12 Jul 2026.

2FAuth is an open-source web application that manages Two-Factor Authentication (2FA) accounts and generates one-time passwords (TOTP/HOTP). It provides a browser-accessible interface, QR-code scanning, import/export tools, and optional data encryption with modern authentication support.
Key Features
- Generate TOTP and HOTP (and Steam Guard) one-time passwords according to standard RFCs
- Add accounts via QR code scanning, manual advanced form, or import from other authenticator formats
- Organize accounts using Groups and edit or delete entries
- REST API to perform most app functions from external applications
- Modern authentication options including WebAuthn (security keys) and auto-lock/session timeout controls
- Optional encryption for sensitive data at rest (requires backing up application key)
- Browser companion extensions and PWA support to surface OTPs from a running instance
Use Cases
- Centralized access to 2FA codes on desktop or shared devices when a phone is unavailable
- Family or small-team shared instance for managing multiple members' 2FA accounts with per-account organization
- Migration and backup of existing authenticator data using import/export to move between apps or restore tokens
Limitations and Considerations
- Data encryption is optional and disabled by default; enabling encryption requires safeguarding the APP_KEY backup to avoid data loss
- Browser extensions and companion tools require a running 2FAuth instance and are not standalone; this may limit offline use
- Correct operation depends on a properly configured server environment (PHP/Laravel requirements) and secure database backups to protect stored secrets
2FAuth is focused on providing a standards-compliant, auditable, and UI-friendly way to manage OTP-based 2FA tokens for desktop and mobile web access. It emphasizes privacy, portability of data, and flexible deployment options.
Categories:
Tags:
Tech Stack:
Similar to 2FAuth

authentik
Open-source Identity Provider (IdP) for SSO, OIDC, and SAML
Open-source IdP delivering SSO, OAuth2/OIDC, SAML2, LDAP, RADIUS, MFA, WebAuthn, conditional access and application-proxy capabilities for self-hosted deployments.

Logto
Authentication and authorization platform for apps and APIs
Open-source authentication and authorization infrastructure with OIDC/OAuth 2.1, SAML SSO, multi-tenancy, MFA, and RBAC for SaaS and AI apps.
Tinyauth
Lightweight authentication middleware for protecting web apps
Tinyauth is a lightweight auth middleware that adds a login screen, OAuth, or LDAP authentication in front of your apps via common reverse proxies.

Mini QR
Web app to generate and scan customizable QR codes
Self-hostable web app to create beautiful, customizable QR codes and scan common QR data types, with presets, batch export, and PWA support.

ENiGMA½ BBS
Modern multi-protocol BBS software written in Node.js
Modern Node.js-based BBS server with Telnet/SSH/WebSocket access, theming and mods, message networks, file areas, doors, and strong authentication options.


Zero-TOTP
Zero-knowledge encrypted TOTP vault and web client
Open-source TOTP client and encrypted vault using zero-knowledge encryption to store, sync and retrieve TOTP secrets via web, rescue frontend, iOS and CLI; self-hostable.




