Grafana 8 Live Streaming authentication (Web Socket) with API Key

Hey,

I was trying to access the Grafana account with user credentials and API Key. With the user credentials, it’s working as expected. After I logged in with the credentials it’s setting “grafana_session” as an internal cookie and that is using in the “WebSocket” for authentication.

The Problem here is when i tried to do the same with “API Key” the WebSockets authentication is failing It’s because of the empty cookie. For the HTTP access you’re allowing to send the “API Key” with “Authorization: Bearer” token but how to bind the “API Key” for the websocket authentication.

We just stucked here. Any help

This topic was automatically closed after 365 days. New replies are no longer allowed.