2FAuth logo

2FAuth

Website

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 screenshot

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:

Share:

Similar to 2FAuth

authentik logo

authentik

Open-source Identity Provider (IdP) for SSO, OIDC, and SAML

25.2k
2k
Last commit

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

Actively maintained
Alternative to:
Okta logo
Okta
+19
Logto logo

Logto

Authentication and authorization platform for apps and APIs

14.5k
1.2k
Last commit

Open-source authentication and authorization infrastructure with OIDC/OAuth 2.1, SAML SSO, multi-tenancy, MFA, and RBAC for SaaS and AI apps.

MPL-2.0Actively maintained
Alternative to:
Auth0 logo
Auth0
+19
Tinyauth logo

Tinyauth

Lightweight authentication middleware for protecting web apps

8.2k
264
Last commit

Tinyauth is a lightweight auth middleware that adds a login screen, OAuth, or LDAP authentication in front of your apps via common reverse proxies.

AGPL-3.0Actively maintained
Alternative to:
Cloudflare Access logo
Cloudflare Access
+17
Mini QR logo

Mini QR

Web app to generate and scan customizable QR codes

2.4k
285
Last commit

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

GPL-3.0Actively maintained
ENiGMA½ BBS logo

ENiGMA½ BBS

Modern multi-protocol BBS software written in Node.js

666
125
Last commit

Modern Node.js-based BBS server with Telnet/SSH/WebSocket access, theming and mods, message networks, file areas, doors, and strong authentication options.

BSD-2-ClauseActively maintained
Alternative to:
Discourse logo
Discourse
+14
Zero-TOTP logo

Zero-TOTP

Zero-knowledge encrypted TOTP vault and web client

27
0
Last commit

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.

GPL-3.0Actively maintained
Alternative to:
Google Authenticator logo
Google Authenticator
+3