thomseddon/traefik-forward-auth

multiple whitelist users in rules doesn't work

maximunited opened this issue · 1 comments

My plan is to have an authentication for for an admin user for all services, while some services have access to other users as well (media services).

Config:

[..]
whitelist = foo@gmail.com
rule.authFamily.rule = Host(`baz.example.org`)
rule.authFamily.action = auth
rule.authFamily.whitelist = foo@gmail.com
rule.authFamily.whitelist = bar@gmail.com
log-level=debug
[..]

Only 1 user is whitelisted. I've also tried:

rule.authFamily.whitelist = foo@gmail.com, bar@gmail.com

I can't find documentation on how should it work

Works without spaces
rule.authFamily.whitelist = foo@gmail.com,bar@gmail.com