Summary
We are using the Grafana WebSocket Data Source plugin to connect to a custom FastAPI-based WebSocket API. The API requires authentication via a browser-managed cookie (IDP_ID_TOKEN) that is present in the browser session and works correctly with other Grafana plugins that use HTTP (e.g., REST API plugins). However, the WebSocket plugin does not include this cookie when initiating the WebSocket connection, which causes authentication to fail at the server side.
Is there a way to dynamically pass in tokens for authentication? How does the plugin handle authentication atm?
Thanks for your help