K-Phoen / backstage-plugin-grafana

Grafana plugin for Backstage
Apache License 2.0
53 stars 27 forks source link

Is it possible to support jwt auth for embedding graphs? #74

Open empath-nirvana opened 11 months ago

empath-nirvana commented 11 months ago

https://github.com/grafana/grafana-iframe-oauth-sample

Similar to this -- my problem is that setting samesite to 'none' breaks okta auth for grafana.

It seems like the jwt auth is the current supported way of having embedded dashboards that are behind auth, and it would require some support at the plugin level to get the token i believe.

dtemir commented 9 months ago

@empath-nirvana did you get anywhere with this? i think we're trying to solve a similar issue to use Okta creds for Grafana API calls instead of Service Token