grafana/pkg/util/proxyutil
Karl Persson 684d68365e
IDforwarding: forward signed id to plugins (#75651)
* Plugins: Add client middlware that forwards the signed grafana id token if present

* DsProxy: Set grafana id header if id token exists

* Add util function to apply id token to header

* Only add id forwarding middleware if feature toggle is enabled

* Add feature toggles to ds proxy and check if id forwarding is enabled

* Clean up test setup

* Change to use backend.ForwardHTTPHeaders interface

* PluginProxy: Forward signed identity when feature toggle is enabled

* PluginProxy: forrward signed id header
2023-10-02 09:14:10 +02:00
..
proxyutil_test.go Feat: Match allowed cookies with optional character (#71047) 2023-07-05 16:12:56 +02:00
proxyutil.go IDforwarding: forward signed id to plugins (#75651) 2023-10-02 09:14:10 +02:00
reverse_proxy_test.go Instrumentation: Add status_source label to request metrics/logs (#74114) 2023-09-11 12:13:13 +02:00
reverse_proxy.go Instrumentation: Add status_source label to request metrics/logs (#74114) 2023-09-11 12:13:13 +02:00