An open API service indexing awesome lists of open source software.

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

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
```

###