Skip to content

Failed authentication behind a reverse proxy #606

@matteobrusa

Description

@matteobrusa

Describe the bug
I've successfully set up a reverse proxy in front of HA with basic auth, it's a common setup to reduce the attack surface when exposing HA publicly.
Everything works well, including the native history graph card; however, when opening a dashboard with a plotly graph, the browser shows a basic auth pop up.
Authenticating shows the popup again and again, the graph is not populated.

yaml
Applies to any plotly graph behind authenticated reverse proxy.

Additional context
Seems that the proxy headers are not passed thru when fetching the data to populate the graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions