mahendrapaipuri/grafana-dashboard-reporter-app

Authentication by Cookie does not works

jkroepke opened this issue · 3 comments

It seems like the Cookie header from a API Request is ignored.

If externalServiceAccount feature is disabled and no token is set, then the error occurs that no app secret is given.

Plugin Version: 1.5.0
Grafana Version: 11.1.3

Yes, this is expected. Check the comment in the src.

README has been updated as well to clearly mention this behavior.

If externalServiceAccounts is enabled or token is set, can unauthorized users generated PDFs?

If externalServiceAccounts is enabled or token is set, can unauthorized users generated PDFs?

Yes, a user who does not have permissions on a given dashboard will be able to generate report for it as the plugin always uses service account token to make requests. But #75 will fix it. Cheers for the PR.