Using API-Key to Access Dashboards in Browser


I’ve been trying to integrate the most recent Version of Grafana into our environment. To authenticate at the grafana-web-server (NOT the API) we use API-Keys which we send in the Header of the HTTP-Request as “Bearer xyz12345”. Until v.9 of Grafana everything worked just perfectly fine. Trying to access a Dashboard on v10, I always get redirected to the Login-Screen instead of seeing the Dashboard.
I read about the new concept of “service accounts”, so I created one and an corresponding “service account token” and tryed the same using this token, but the behaviour stays the same.

Do you have any idea what we’d need to change to be able to access the Dashboards?


  • What Grafana version and what operating system are you using?
    10.4.0 in Docker

  • What are you trying to achieve?
    I want to use an API-Key to auhenticate at the grafana-web-server in a browser to access and Visualize Dashboards

  • How are you trying to achieve it?
    I use the API-Key/Service-Token with “Bearer” in the the Header of an HTTP-Request

  • What happened?
    I got redirected to the Login-Page

  • What did you expect to happen?
    The Dashboard I want to access opens up and shows its Panels and Data