Stuck at first login

Hi

I brand new to using Traefik, and im having some issues with the setup.

I have used this guide as a reference: https://www.digitalocean.com/community/tutorials/how-to-use-traefik-v2-as-a-reverse-proxy-for-docker-containers-on-ubuntu-20-04

Everything has gone as planed until i have to login to the dashboard. When i access the dashboard im prompted for credentials, but when i type in the credentials i am the login fails (as if i typed the wrong password).
I tried creating a new password, deleting the whole config and doing it all over, however nothing helps.

What am i doing wrong?

traefik.toml:

[entryPoints]
  [entryPoints.web]
    address = ":80"
    [entryPoints.web.http.redirections.entryPoint]
      to = "websecure"
      scheme = "https"

  [entryPoints.websecure]
    address = ":443"

[api]
  dashboard = true

[certificatesResolvers.lets-encrypt.acme]
  email = "email@domain.com"
  storage = "acme.json"
  [certificatesResolvers.lets-encrypt.acme.tlsChallenge]

[providers.docker]
  watch = true
  network = "web"

[providers.file]
  filename = "traefik_dynamic.toml"

[accessLog]
  filePath = "access.log"
  bufferingSize = 100

traefik_dynamic.toml:

[http.middlewares.simpleAuth.basicAuth]
  users = [
    "admin:$apr1$9v.jkylR$OV1XQnqcqShtSed4K3did1"
  ]

[http.routers.api]
  rule = "Host(`monitor.domain.com`)"
  entrypoints = ["websecure"]
  middlewares = ["simpleAuth"]
  service = "api@internal"
  [http.routers.api.tls]
    certResolver = "lets-encrypt"

Hello @Glacierdk,

Thanks for your interest in Traefik!

I tried your configuration with a new password and everything was working fine. When I access the dashboard the browser open a prompt for the credentials and the login succeed.

I suspect that your password is not well hashed. The password must be hashed using MD5, SHA1, or BCrypt as explained in the following documentation.

Have you solved your issue?

Hope this helps.