Before I updated OpenWRT I could reach OpenWRT in my HomeAssistant site via iframe.
Now it pops up the loading luci configuration interface on top left and shows a blank page.
How can I allow embed to use OpenWrt in HomeAssistant again?
Before I updated OpenWRT I could reach OpenWRT in my HomeAssistant site via iframe.
Now it pops up the loading luci configuration interface on top left and shows a blank page.
How can I allow embed to use OpenWrt in HomeAssistant again?
Have you cleared your browsers cache already?
yes, plenty times, even reinstalled the browser, once the windows too.
Does OpenWRT has a hidden configuration to allow iframe from external IP?
And chrome says the address denied the connection.
SO it is not a security setting issue on my site?
Did anyone solve the problem? Trying to include it in iframe too
Why through iframe?
after I hit "login" button" on Authorization form with username and password, login page just reloads and doesn't actually enter to router interface, in Chrome network tab I get "403 error" from path "luci/", without iframe, all works right
The iframe doesn't work for me with Openwrt either.
As in @lleachii 's deleted post, it is not so much that iframe is deprecated, but more that it is a potential security risk.
See:
To help eliminate the risk of abuse, a web server can set a response header to block iframes.
In the case of Luci, the header is x-frame-options SAMEORIGIN
. This allows Luci itself to put part of itself in an iframe but blocks anything else from doing so.
See:
So tl;dr: You cannot put Luci in an iframe.