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