TrueNAS scale - Support embedding/iframe?

Screwdge

Cadet
Joined
Nov 11, 2016
Messages
1
Hi all,

I am curious if there is a way to get the full TrueNAS Scale WebUI running in an iframe window?

When trying to do so I get the following error in Chrome:
- Refused to display 'https://truenas.mydomain.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I am a newbie when it comes to all the HTTP header options etc. but this seems like a security feature in TrueNAS that prohibits traffic redirected from a different domain. Interestingly the request should come from the same main domain but different subdomain and it still is not allowed.

Is there any way I could configure the trueNAS webUI to be embedded as an iframe? I guess somewhere the webserver config is located where I should be able to change this 'sameorigin' to a different setting. Right now the truenas web ui is my only app that does not allow it...

Hope anyone can give me some pointers!

Regards,

Screwdge
 

nerdspar

Cadet
Joined
Mar 5, 2023
Messages
4
Hey.

Did you ever figure this out? I'm running into this exact same issue now but still can't find any info on how to change the X-Frame options.

Thanks!
 
Top