Skip to main content

Easy setup totp-based login for your application

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

totp_auth-1.1.20.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

totp_auth-1.1.20-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file totp_auth-1.1.20.tar.gz.

File metadata

  • Download URL: totp_auth-1.1.20.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for totp_auth-1.1.20.tar.gz
Algorithm Hash digest
SHA256 cf7d5985e1f4f3b861eeb73a2e3cf899484c72d20821ec7bb42f2c42488894ba
MD5 30d7455535de1738f002a09b3107908e
BLAKE2b-256 e42eeff494eb66ffd672ffc47d7b617fcee5b8d6d880d2876e761a460be8f366

See more details on using hashes here.

File details

Details for the file totp_auth-1.1.20-py3-none-any.whl.

File metadata

  • Download URL: totp_auth-1.1.20-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for totp_auth-1.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8daf343722a208ab62da6c0c0b1fddd7ed1abcc41d01cc94d1f291d754b2b05d
MD5 c4288bf1ad99ce6bbb5c48c87fb6d2b4
BLAKE2b-256 5949cc8e0f09d8010637651584bc6e3dd7e7bc293ae36c6e88466031c748894e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page