# 2fauth

2fauth is a self-hosted web app that stores your two-factor authentication (2FA) accounts and generates their time-based security codes. It is open source and self-hosted, installable on Docker Hub, Proxmox, TrueNAS, ZimaOS and Unraid.

Canonical page: https://ourlocalhost.com/app/157/2fauth

## Description

2FAuth is a self-hosted web app that stores your two-factor authentication (2FA) accounts and generates their time-based security codes. Instead of depending on a smartphone, it lets you enter the codes from any browser on your own server, keeping second-factor access on hardware you control.

## Platform availability

Available on 4 of 9 platforms: Unraid, TrueNAS, ZimaOS, Proxmox.

## Health score

33/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 65 (4 install platforms, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/Bubka/2FAuth
- Documentation: https://docs.2fauth.app
- Docker Hub: https://hub.docker.com/r/2fauth/2fauth/
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=2fauth
- TrueNAS: https://apps.truenas.com/catalog/twofactor-auth/
- ZimaOS: https://github.com/IceWhaleTech/CasaOS-AppStore/tree/main/Apps/2FAuth
- Unraid: https://ca.unraid.net/apps/2fauth-0oe2it903dv2kh?q=2fauth

## Common questions

### Can I use 2FAuth on a phone?

A community description says it has an interface for mobile and desktop.

### Where are 2FAuth logs stored?

They are stored in the storage/logs subfolder of your installation folder.

### What folder should I use when installing 2FAuth from source?

The self-hosted server guide uses /var/www/2fauth as the example location for the 2FAuth folder.

### Can 2FAuth generate Steam Guard codes?

It supports TOTP, HOTP, and Steam Guard codes.

---
Source: Our Local Host (https://ourlocalhost.com/app/157/2fauth), the self-hosted and open-source app directory.
