2024-05-27 16:01:12 +00:00
|
|
|
## ldap_forwardauth
|
|
|
|
|
|
|
|
LDAP Forward Auth is a forward auth service (shocking) that i made to use with the caddy reverse proxy.
|
|
|
|
|
|
|
|
It allows a proxied login page to appear if a user tries to access restricted content while not logged in.
|
|
|
|
|
2024-05-30 17:05:46 +00:00
|
|
|
It uses LDAP for authentication, which can be configured in the `docker.env` file.
|
2024-05-27 16:01:12 +00:00
|
|
|
|
|
|
|
Once authenticated, sets the X-Webauth-User header, which can be used by applications to see who is logged in.
|
|
|
|
|
|
|
|
### how to run
|
|
|
|
|
2024-05-27 16:01:31 +00:00
|
|
|
```
|
2024-05-27 16:01:12 +00:00
|
|
|
docker compose up -d
|
2024-05-27 16:01:31 +00:00
|
|
|
```
|