lemonldap-ng-docker icon indicating copy to clipboard operation
lemonldap-ng-docker copied to clipboard

Can it work with Traefik ForwardAuth?

Open LM1LC3N7 opened this issue 3 years ago • 3 comments

Hello @coudot,

Sorry for my newby question here, but it could interest a lot of people in my opinion.

▶ Can LemonLDAPNG work with Traefik ForwardAuth, if yes, can you point how?

The ForwardAuth middleware delegates authentication to an external service. If the service answers with a 2XX code, access is granted, and the original request is performed. Otherwise, the response from the authentication server is returned.

Source: https://doc.traefik.io/traefik/middlewares/http/forwardauth/#forward-request-headers

Thank you a lot for your time on this question 🙂

Louis

LM1LC3N7 avatar Dec 07 '21 16:12 LM1LC3N7

I did not test this, it could maybe work with configuration, using REST authentication services: https://lemonldap-ng.org/documentation/latest/restservices#api

coudot avatar Dec 07 '21 17:12 coudot

Thanks I really appreciate the (really fast) answer 😀 I will try update this issue if I make it work.

LM1LC3N7 avatar Dec 07 '21 18:12 LM1LC3N7

See https://lemonldap-ng.org/documentation/latest/configtraefik.html

coudot avatar Dec 20 '23 21:12 coudot