Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple OTP email based authentication server for static pages generated with Sphinx

... or any other static HTML content for that matter.

What it does:

  • presents a simple login page that requires you to provide your email,
  • a user will need to copy an one time password from the email and paste it to the system,
  • now a user can browse the contents of Sphinx pages.

This is usefull whenever you need to hide some static pages behind authentication and want to have simple ways of controling who is getting access.

Some additonal info:

  • runs on Linux, uses Python Flask, PostgreSQL and a local sendmail MTA,
  • emails need to be preregistered in the PostfgreSQL database,
  • as simple as possible, as little dependencies as possible.

What is here:

  • auth-gate-src - the code of the scripts,
  • auth-gate-src/README.md - documentation, information how to use, how to install,
  • sphinx - a very simple Sphinx documentation page just for testing

Enjoy!

ps. I vibecoded and tested it over a few hours.

About

Simple OTP email based authentication server for Sphinx Documentation and other static pages.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages