설명 없음

Bubka 233496a609 Add API v1.8 changes to the change log 1 개월 전
.github 9c8b904120 Fix special char typo 4 달 전
app 243a44d516 Fix pint issues 1 개월 전
bootstrap 44f94d6770 Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification 1 개월 전
config a0a06d7271 Bump version number & Update change log 1 개월 전
database f009b31a68 Add Store icons to database feature 9 달 전
docker 44f94d6770 Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification 1 개월 전
docs c310049907 Move to php83 as php82 active support ended late 2024 4 달 전
public 24c0500686 Rebuild assets 1 개월 전
resources afaaa08897 Update translations 1 개월 전
routes 243a44d516 Fix pint issues 1 개월 전
storage a365d10d92 Fix missing noicon icon - Closes #423 8 달 전
tests 243a44d516 Fix pint issues 1 개월 전
.dockerignore 3923ada6a0 Fix Docker test setup 3 년 전
.editorconfig 20856d62c6 Upgrade to Laravel 8 3 년 전
.env.example 44f94d6770 Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification 1 개월 전
.env.testing 764b687904 Add custom defaults & locking to user preferences - Closes #413 4 달 전
.env.travis c6f8317d81 Set array mailer for Travis CI tests 1 년 전
.gitattributes 0ac04a321d Upgrade to Laravel 9 2 년 전
.gitignore 2f99849adf Enable eslint & typescript for intellisense 3 달 전
.styleci.yml 0ac04a321d Upgrade to Laravel 9 2 년 전
.travis.yml c310049907 Move to php83 as php82 active support ended late 2024 4 달 전
Dockerfile 44f94d6770 Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification 1 개월 전
LICENSE 02bbf59083 Add LICENSE file 5 년 전
Procfile 37892e912e Complete heroku setup 3 년 전
README.md c310049907 Move to php83 as php82 active support ended late 2024 4 달 전
app.json b8b4d22efb Update passport:install invocation to prevent unwanted confirmations 1 년 전
artisan 0ac04a321d Upgrade to Laravel 9 2 년 전
changelog.md 233496a609 Add API v1.8 changes to the change log 1 개월 전
composer.json 821382f117 Update composer dependencies 4 달 전
composer.lock d950ddb65e Update composer dependencies 1 개월 전
crowdin.yml 4e8e69c87c Disable useless local languages mapping configuration (to be managed at crowdin.com) 4 달 전
eslint.config.js 2f99849adf Enable eslint & typescript for intellisense 3 달 전
nginx.conf 37892e912e Complete heroku setup 3 년 전
package-lock.json 2f99849adf Enable eslint & typescript for intellisense 3 달 전
package.json 2f99849adf Enable eslint & typescript for intellisense 3 달 전
phpstan.neon 5ddd21fb4d Fix phpstan issues 8 달 전
phpunit-mysql.xml cced8dbaff Update phpunit configuration 1 년 전
phpunit.xml 080becf80c Update composer dependencies & Fix tests 8 달 전
pint.json d6fd8e3c52 Apply Laravel Pint fixes 2 년 전
tsconfig.json 2f99849adf Enable eslint & typescript for intellisense 3 달 전
vite.config.js 2f99849adf Enable eslint & typescript for intellisense 3 달 전
vite.version.js 764b687904 Add custom defaults & locking to user preferences - Closes #413 4 달 전

README.md

2FAuth

Docker build status

A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes

screens

2FAuth Demo
Credentials (login - password) : demo@2fauth.app - demo

Purpose

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.

It aims to ease you perform your 2FA authentication steps whatever the device you handle, with a clean and suitable interface.

I created it because :

  • Most of the UIs for this kind of apps show tokens for all accounts in the same time with stressful countdowns (in my opinion)
  • I wanted my 2FA accounts to be stored in a standalone database I can easily backup and restore (did you already encountered a smartphone loss with all your 2FA accounts in Google Auth? I did...)
  • I hate taking out my smartphone to get an OTP when I use a desktop computer
  • I love coding and I love self-hosted solutions

Main features

  • Manage your 2FA accounts and organize them using Groups
  • Scan and decode any QR code to add account in no time
  • Add custom account without QR code thanks to an advanced form
  • Edit accounts, even the imported ones
  • Generate TOTP and HOTP security codes and Steam Guard codes

2FAuth is currently fully localized in English and French. See Contributing if you want to help on adding more languages.

Security

2FAuth provides several security mechanisms to protect your 2FA data as best as possible.

Single user app

You have to create a user account and authenticate yourself to use the app. It is not possible to create more than one user account, the app is thought for personal use.

Modern authentication

You can sign in 2FAuth using a security key like a Yubikey or a Titan key and disable the traditional login form.

Data encryption

Sensitive data stored in the database can be encrypted to protect them against db compromise. Encryption is provided as an option which is disabled by default. It is strongly recommended to backup the APP_KEY value of your .env file (or the whole file) when encryption is On.

Auto logout

2FAuth automatically log you out after an inactivity period to prevent long life session. The auto logout can be deactivated or triggered when a security code is copied.

RFC compliance

2FAuth generates OTP according to RFC 4226 (HOTP Algorithm) and RFC 6238 (TOTP Algorithm) thanks to Spomky-Labs/OTPHP php library.

Requirements

Installation guides

Upgrading

Migration

2FAuth supports importing from the following formats: 2FAuth (JSON), Google Auth (QR code), Aegis Auth (JSON, plain text), 2FAS Auth (JSON)

Contributing

You can contribute to 2FAuth in many ways:

License

AGPL-3.0