2FAuth

2FAuth

Web-based TOTP/HOTP authenticator and 2FA account manager

3.7kstars
260forks
Last commit: 3d ago
Repo age: 7y old
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 Services

PocketBase

PocketBase

Lightweight open-source realtime backend with embedded SQLite

55.3k
3k
Last commit: 1d ago

Open-source Go backend providing embedded SQLite, realtime (SSE) subscriptions, auth (JWT/OAuth2), file storage, admin UI and REST-style APIs for web and mobile apps.

Alternative to:
PocketBase Cloud
PocketBase Cloud
+17
Keycloak

Keycloak

Open-source identity and access management with SSO

32.3k
8k
Last commit: 21h ago

Keycloak is an open-source IAM server providing single sign-on, user federation, and centralized authentication and authorization using OIDC, OAuth 2.0, and SAML.

Alternative to:
Okta
Okta
+19
Authelia

Authelia

Self-hosted IAM with SSO and multi-factor authentication

26.4k
1.3k
Last commit: 1d ago

Authelia is an open-source IAM and authentication server providing SSO, MFA, and access control for web apps, with OpenID Connect/OAuth 2.0 and reverse-proxy integration.

Alternative to:
Auth0
Auth0
+16
Infisical

Infisical

Open-source platform for secrets, PKI certificates, and privileged access

24.5k
1.7k
Last commit: 20h ago

Infisical is an open-source platform to manage and deliver app secrets, certificates (PKI), SSH credentials, and encryption keys across teams and infrastructure.

Alternative to:
HashiCorp Vault
HashiCorp Vault
+9
authentik

authentik

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

19.7k
1.4k
Last commit: 17h ago

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

Alternative to:
Okta
Okta
+19
Teleport

Teleport

Identity-aware access proxy for infrastructure and internal apps

19.7k
2k
Last commit: 17h ago

Secure access platform for servers, Kubernetes, databases, desktops, and web apps with SSO/MFA, short-lived certificates, and full session auditing.

Alternative to:
Twingate
Twingate
+16