traefik
traefik copied to clipboard
Basic Auth Automatically encode Base64 - basicauth.users
Welcome!
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
- [X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.
What did you expect to see?
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.traefik-auth.basicauth.users=${BASIC_AUTH}"
I would expect to easily set the auth without the need to encode the password. Would be nice to have a possibility to pass the password directly.
I think because of secrurity reasons one have to provide the hashed password right?
Hello @NilsBaumgartner1994, the whole point of hashing passwords is to avoid having them in plain text. This is indeed a basic security measure :)