-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to login to Traefik Dashboard even after providing Correct password in Basic Auth. #1002
Comments
SolutionWe need to wrap the password in single quotes. References |
send pr I'm using helm chart |
@AnkurThakur thanks for your solution, but I can't access traefik even with this change, i followed the steps from tutorial. Is there anything I am missing ? |
It works for me, but I have to use: |
forget environment variables hard code it in yaml and replace example. ❯ openssl passwd -apr1 "Secret"
$apr1$lou.E/tO$tcnqp1gKiz5G/EVvhIQtD0
In some cases I don't even expose and load balance traefik dashboard to public with basic auth. |
re open new if needed, closing this. |
Thank you so much. It's working. |
Description of the issue
Unable to login to Traefik Dashboard even after providing Correct password in Basic Auth.
Context information (for bug reports)
During the installation, when we setup Traefik, it uses the Docker Environment file
traefik.env
. It containsHASHED_PASSWORD
which is used for Traefik login. It contains the encrypted password, e.g$apr1$TzHiJVlu$d3bQf1d8IgV2X2x625GMB1
. The$
is considered as variable by Compose which results in incorrect password.Steps to reproduce the issue
traefik.env
file, try installing Traefik using Docker Compose and it will throw warnings.Observed result
Expected result
The text was updated successfully, but these errors were encountered: