Skip to content

🐞 Issue: WebSocket plugin does not send authentication cookies when making connection requests #42

@stefanw1215

Description

@stefanw1215

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions