s4o

Static Single Sign On

Http server for hosting static files behind single sign on:

Building

make

Installing

It will generate a binary into the ./bin folder. To install run:

sudo make install

You can also chose another location:

PREFIX="$HOME/.local" make install

Or even using go cli:

go install git.sr.ht/~gabrielgio/s4o/cmd/s4o@latest

Running

To get all the param run ./s4o --help, e.g.:

s4o \
    --client-id="$CLIENT_ID" \
    --client-secret="$CLIENT_SECRET" \
    --issuer="$ISSUER" \
    --callback="http://localhost:3000/callback"