grafana / google-bigquery-datasource

Google BigQuery Datasource Plugin for Grafana.
Apache License 2.0
27 stars 15 forks source link

Whitelist cookie? #191

Open STEELBADGE opened 1 year ago

STEELBADGE commented 1 year ago

The BigQueryAPI can be used behind a proxy so that another form of authentication can be used instead Google Service Account Key such as a Single Sign On (SSO) cookie.

We need to be able to forward a cookie very similar to how other datasources allow you to do this.

I.e:

image

Can this already be done?

If not - where would the changes needed to be made to support this?

zoltanbedi commented 9 months ago

@STEELBADGE sorry it took so long to reply. This is not possible now but would easy to add. We need to add this to the config editor https://github.com/grafana/grafana/blob/main/public/app/plugins/datasource/prometheus/configuration/overhaul/AdvancedHttpSettings.tsx#L55