Go to file
2025-03-18 13:52:10 +01:00
2025-03-18 13:52:10 +01:00
2025-03-18 13:52:10 +01:00
2025-03-18 13:52:10 +01:00

staticshield session proxy

Running it locally

Create a file (e.g., called run.sh) with the following:

#!/bin/bash
export FLASK_SERVE_DIR="/home/YOURUSER/workspace/somesite/build/html"
export FLASK_MOTHERSHIP="http://localhost:8888/api/staticshield"
export FLASK_SESSION_COOKIE_NAME="staticshield"

flask --app staticshield run

ruff check and fix

ruff check --fix --select I .
Description
Shield a static website by requiring a login flow through a third site
Readme 70 KiB
Languages
Python 100%