traefik icon indicating copy to clipboard operation
traefik copied to clipboard

Basic Auth Automatically encode Base64 - basicauth.users

Open NilsBaumgartner1994 opened this issue 1 year ago • 1 comments

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.

NilsBaumgartner1994 avatar May 24 '24 14:05 NilsBaumgartner1994

I think because of secrurity reasons one have to provide the hashed password right?

NilsBaumgartner1994 avatar May 24 '24 14:05 NilsBaumgartner1994

Hello @NilsBaumgartner1994, the whole point of hashing passwords is to avoid having them in plain text. This is indeed a basic security measure :)

emilevauge avatar May 27 '24 13:05 emilevauge