grafana / grafana-kiosk

Kiosk Utility for Grafana
Apache License 2.0
372 stars 60 forks source link

Grafana instance behind basic auth not working #149

Closed bperun123 closed 1 month ago

bperun123 commented 1 month ago

First of all: Thanks for this great grafana addon. Really cool stuff!

Atm I have an issue with a self-hosted Grafana instance where the users authenticate with basic auth.

I have the following setup: [Traefik route with basic auth] -> [Grafana instance]

Following results

--- Attempt with username and password --- ./grafana-kiosk.darwin.arm64 --URL https://grafana.page.com/d/edvbq2f8p4c8we/f09fa496-my-dashboard --login-method local --username tech-user --password mypasswd --kiosk-mode tv

Result: panic: page load error net::ERR_INVALID_AUTH_CREDENTIALS

--- Attempt with username and password also at URL --- ./grafana-kiosk.darwin.arm64 --URL https://tech-user:mypasswd@grafana.page.com/d/edvbq2f8p4c8we/f09fa496-my-dashboard --login-method local --username tech-user --password mypasswd --kiosk-mode tv

Result: Image

--- Attempt when I remove basic auth from Traefik --- Everythings works fine

Do you have an idea how to make it work with Basic Auth authenticated users?

Thanks in advance!!

bperun123 commented 1 month ago

Sry, I have only just seen this pull request: https://github.com/grafana/grafana-kiosk/pull/144

I close this issue!