Skip to content

Easy TOTP auth to your web application without changing project

License

Notifications You must be signed in to change notification settings

MoxForever/totp_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOTP Auth

The project was created as a convenient utility for adding TOTP authorization to your site without changing your project.

Technology support

Technology With Header Rewrite
HTTP Yes
WebSocket Yes
EventStream Yes

TODO List

  • Create web interface for configuration
  • Light-weight version with 1 rewrite for implementing in docker containers
  • Migrate from .ini config to sqlite
  • Add classic password support
  • Rate limits for protect of bruteforce
  • Login page customization

Installation

PIP

Installation from pip is easy:

pip install totp_auth

Script

Installs python, pip and setup systemd daemon. Run as the user on whose behalf you will manage.

curl -fsSL https://raw.githubusercontent.com/MoxForever/totp_auth/main/install.sh | bash

Usage

All interaction goes through totp-auth.

Run server

totp-auth run