From 39bcb09a367251bed7cfb445f546252547058e66 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 30 May 2024 13:05:46 -0400 Subject: many changes --- README.md | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a46a587..06eb386 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,7 @@ LDAP Forward Auth is a forward auth service (shocking) that i made to use with t It allows a proxied login page to appear if a user tries to access restricted content while not logged in. -It uses LDAP for authentication, which can be configured in the conf/ldap/ldap.env file. - -``` -# the following is all the ldap credentials for a ldap bind dn auth setup -# this does not support ldap simple auth -LDAP_URL= -LDAP_BIND_DN= -LDAP_BIND_PASSWORD= -LDAP_BASE_DN= -LDAP_FILTER="(&)" -LDAP_UID="cn" - -# the host that the forward auth is hosted at -# if the user is not logged in they will be redirected here -HTTP_HOST=auth.example.com - -# the base domain for all websites that are being authed checked including the forward auth itself. -# they all need to have a common root domain otherwise the X-LDAP-Auth-Key cookie cannot be set. -COOKIE_DOMAIN=example.com -``` +It uses LDAP for authentication, which can be configured in the `docker.env` file. Once authenticated, sets the X-Webauth-User header, which can be used by applications to see who is logged in. -- cgit v1.2.3-freya