Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3rd Party Cookies and Chrome 84+ (embedding Unraid into Home Assistant)

Featured Replies

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?

cookie.png

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.

 

 

  • 8 months later...

Hi, 

 

im also trying to embed my Unraid dashboard as an IFrame, also your command not work.

image.png.aa485d12b4edfcecf0983db55ccde4c2.png

 

Has anyone managed to do that?

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.