August 27, 20205 yr So I was trying to embed my Unraid dashboard in a panel (as an IFrame) on Home Assistant and it was telling me that cookies must be enabled to login. Did some research and turns out in Chrome 84+, 3rd party cookies served via HTTP (and not HTTPS) are blocked unless they have the proper SameSite attribute. A third party cookie needs to have the following in order for the browser to accept the cookie SameSite=None; Secure Is there any way we can have this added to the Unraid Web UI so that we can embed the page in IFrames?
August 28, 20205 yr If you're using just HTTP (and not HTTPS) then adding 'Secure' to the cookie will just prevent it from sending over HTTP. What I think you really need, when your using just HTTP, is: SameSite=Lax You can test this temporarily by running this command in your Unraid terminal: sed -i 's/samesite=strict/samesite=lax/g' /usr/local/emhttp/plugins/dynamix/include/local_prepend.php and then Logout and Log back in to the Unraid web UI to refresh the cookie with the new samesite=lax settings.
May 21, 20215 yr Hi, im also trying to embed my Unraid dashboard as an IFrame, also your command not work. Has anyone managed to do that?
Archived
This topic is now archived and is closed to further replies.