Support htdigest auth basic in Docker service traefik.frontend.auth.basic label #2734
Labels
area/authentication
area/provider/docker
kind/enhancement
a new or improved feature.
priority/P2
need to be fixed in the future
status/5-frozen-due-to-age
Milestone
Do you want to request a feature or report a bug?
I think this is a bug because clearly the htdigest is supported but could also be a feature because it has yet to be implemented for Docker labels...
What did you do?
I switched the basic auth for a Docker Swarm mode service to use htdigest in order to customize the auth realm (I don't like exposing our technology stack and the default basic auth realm is "traefik"). My service originally had the following traefik.frontend label in the deploy section of the docker yaml file which worked:
That correctly caused traefik to prompt for authentication when accessing the service. However switching to using htdigest basic auth like:
Causes traefik to ignore auth basic. In the debug logs it clearly shows an error parsing the htdigest basic auth:
What did you expect to see?
When using the htdigest auth I expected to be prompted for basic auth with a realm of ourrealm.
What did you see instead?
No basic auth done.
Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
Contents of /etc/traefik/traefik.toml
The text was updated successfully, but these errors were encountered: