Favicon of 2FAuth

2FAuth

Generate and manage one-time passwords securely from any device. This self-hosted web app offers QR scanning, data encryption, and multi-user support.

Take full control of your security data with a self-hosted, web-based alternative to traditional one-time passcode generators. Designed for both mobile and desktop, this solution ensures you never lose access to your accounts, even if you misplace your smartphone. It delivers fresh TOTP and HOTP security codes directly to your browser, protected by robust encryption and WebAuthn authentication.

Enjoy a comprehensive suite of features:

  • Universal Access: Generate codes from any device with an internet connection.
  • QR Code Scanning: Quickly add new accounts by decoding any QR code.
  • Advanced Management: Organize accounts using custom groups.
  • Multi-User Support: Share a single instance securely with family and friends.
  • Seamless Migration: Easily import existing data or export configurations for safe backups.

Regain privacy and ensure your two-factor authentication is always accessible and secure.

Directory Structure

2fauth
data
.env
docker-compose.yml

docker-compose.yml

services:
  2fauth:
    image: 2fauth/2fauth:latest
    container_name: 2fauth
    restart: unless-stopped
    ports:
      - 8000:8000
    volumes:
      - ./data:/2fauth
    environment:
      - APP_NAME=2FAuth
      - APP_ENV=production
      - APP_DEBUG=false
      - SITE_OWNER=${SITE_OWNER}
      - APP_KEY=${APP_KEY}
      - AUTHENTICATION_GUARD=web-guard
      - CACHE_DRIVER=file
      - SESSION_DRIVER=file

.env

APP_KEY=base64:your_generated_32_char_key_here
SITE_OWNER=admin@example.com
Categories:

Share:

Ad
Favicon

 

  
 

Similar to 2FAuth

Favicon

 

  
  
Favicon

 

  
  
Favicon