1# Static Single Sign On
2
3Http server for hosting static files behind single sign on:
4
5## Building
6
7```bash
8make
9```
10
11## Installing
12
13It will generate a binary into the `./bin` folder. To install run:
14
15```bash
16sudo make install
17```
18
19You can also chose another location:
20
21```bash
22PREFIX="$HOME/.local" make install
23```
24
25Or even using go cli:
26
27```bash
28go install git.sr.ht/~gabrielgio/s4o/cmd/s4o@latest
29```
30
31## Running
32
33To get all the param run `./s4o --help`, e.g.:
34
35```bash
36s4o \
37 --client-id="$CLIENT_ID" \
38 --client-secret="$CLIENT_SECRET" \
39 --issuer="$ISSUER" \
40 --callback="http://localhost:3000/callback"
41```