HA in a Frame - New Error - sameorigin

Solved

I have a simple HTML page with some camera MJPEG streams and an iFrame that loads one of my HA dashboards. I just updated to the HA versions below, and now Chrome refuses to load HA in the iFrame:

Supervisor 2023.09.2
Operating System 10.5

I tried adding this to the config.yaml but no change:
http:
use_x_frame_options: false

This is what I see in the Chrome debugger:

Refused to display 'https://ha.domain.com:8123/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I found this page that suggests modifying the http.LUA code and I haven't tried that yet - hoping to confirm if this was an intended change in 2023.9.2 or 10.5, or other before I start fiddling under the hood of my HA instance.

Posted Sep 18, 2023, 5:47 PM UTC

12
Loading comments…