grafana/pkg/util/proxyutil
Marcus Efraimsson 6478d0a5ef
Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646)
Grafana would forward the X-Grafana-User header to backend plugin request when 
dataproxy.send_user_header is enabled. In addition, X-Grafana-User will be automatically
forwarded in outgoing HTTP requests for core/builtin HTTP datasources. 
Use grafana-plugin-sdk-go v0.147.0.

Fixes #47734

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-12-15 15:28:25 +01:00
..
proxyutil_test.go Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646) 2022-12-15 15:28:25 +01:00
proxyutil.go Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646) 2022-12-15 15:28:25 +01:00
reverse_proxy_test.go DataProxy: Populate X-Grafana-Referer header (#60040) 2022-12-15 10:08:10 +01:00
reverse_proxy.go DataProxy: Populate X-Grafana-Referer header (#60040) 2022-12-15 10:08:10 +01:00