BasicAuth not working on traefik dashboard

Hi everyone.
Installed traefik using quick start kubernetes guide everything works fine..

Now I am not able to secure the dashboard using BasicAuth middleware.
Please guide.

What I have already tried: Created BasicAuth secret and middle ware also created a IngressRoute but doesn't seem to work. For the kubernetes quick start guide can't find way to define the auth-middleware as there are no ingressRoute for the quick start guide.

What’s your issue? The page is not protected or the user/pass does not match?

My issue is I don't really know where to put the middleware in which file as in the quick start guide there is no ingress or ingress route file