wiltonsr / ldapAuth

An open source Traefik Middleware that enables authentication via LDAP in a similar way to Traefik Enterprise
https://plugins.traefik.io/plugins/628c9eb7ffc0cd18356a979c/ldap-auth
Apache License 2.0
111 stars 10 forks source link

I don't find syntax for "allowedGroup" #36

Closed raspberry1704 closed 1 year ago

raspberry1704 commented 1 year ago

Hello,

Firstly, this plugin is really great. It helped me for my authent with ldap and specially with filtering by username.

Now, I want to integrate my ldap groups. I tried a lot of syntaxes but it's not working.

Here is a example of what I tried with the parameter "allowedGroups":

And thousands others tests...

Please, could you help me ?

Have a nice day. Raspberry

wiltonsr commented 1 year ago

Hello, @raspberry1704

allowedGroups is not supported with labels, because multiple value labels are separated with commas.

You can use yaml or toml configuation files. Please check the examples folder.