https://github.com/moxforever/totp_auth
Easy TOTP auth to your web application without changing project
https://github.com/moxforever/totp_auth
authorization proxy proxy-server python python-3 python3 totp web
Last synced: 8 months ago
JSON representation
Easy TOTP auth to your web application without changing project
- Host: GitHub
- URL: https://github.com/moxforever/totp_auth
- Owner: MoxForever
- License: mit
- Created: 2024-03-28T08:56:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T08:07:35.000Z (over 1 year ago)
- Last Synced: 2025-08-16T13:00:35.880Z (10 months ago)
- Topics: authorization, proxy, proxy-server, python, python-3, python3, totp, web
- Language: Python
- Homepage:
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- [x] 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:
```bash
pip install totp_auth
```
### Script
Installs python, pip and setup systemd daemon. Run as the user on whose behalf you will manage.
```bash
curl -fsSL https://raw.githubusercontent.com/MoxForever/totp_auth/main/install.sh | bash
```
## Usage
All interaction goes through `totp-auth`.
### Run server
```bash
totp-auth run
```
###