Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
External plugins requiring auth do not work in 5.2.0+ #12551
What Grafana version are you using?
What datasource are you using?
What OS are you running grafana on?
What did you do?
Open a dashboard with
What was the expected result?
Things work as they did before.
What happened instead?
Panel fails to load, because request is redirected to auth. The reason is missing cookies for
It's very similar to systemjs/systemjs#1731.
referenced this issue
Jul 10, 2018
Hi @bobrik, could you please help me reproducing this?
What I found so far:
Where does your setup differ?
We are using Grafana 5.2.1 docker image with plugin installed, running behind reverse proxy that does Google auth, similar to nginx-google-oauth. When I click to add Diagram panel:
The cookies we need are not
@davkal somehow the plugin css is not bundled and since it does not start with plugin it does not get the authorization config flag after you added the plugin prefix requirement. Maybe it’s the fact that this is systemjs plugin that makes the bundling not works. Was there a reason you added the plugin prefix , or was that in a PR that you merged?