Page 1 of 1

BI5 and iframes

Posted: Mon Mar 14, 2022 7:24 pm
by christopher_init
Hello,

I'm having an issue passing in simple query string authentication parameters using iframes on a regular http private website.
The connection is going from http://domain.local -> http://blueiris.local.

The url would look like this:

http://bi.local:81/ui3.htm?user=local&pw=password

Things I have done:
  • iframes is checked
  • http cookies checked, tried unchecked as well
  • Tested X Forward For
  • Unchecked secure login
  • Tested Required All Connections
I even tried to use nginx to pass in a different response header. This did not work either. I tried ALLOWALL for the origin and the UI3 recommended proxy settings.
For now, I am able to use iframes using "Lan-Only" which then uses the Anonymous login id (yuck). I know it's partly due to the modern browsers (it works in IE).

Any suggestions?

Re: BI5 and iframes

Posted: Mon Mar 14, 2022 11:46 pm
by YrbkMgr
I'll tell ya buddy, I read that three times and understood every single word - but have no idea what it means. Maybe it's clear to others, but I can't figure out what you're trying to do and how you're trying to do it... and most importantly why. No disrespect, I'm just being honest that I'm not tracking. I searched all the self help articles for multiple unique terms from your note (iframes, nginx, etc.) and came up with nothing. A little more context would help. Version, steps you're taking, why, etc.

Re: BI5 and iframes

Posted: Tue Mar 15, 2022 6:57 am
by christopher_init
I have a custom built self hosted local dashboard (website). Currently, the only “website within a website” it supports is iframes. BI5 is said to also support iframes. I’m trying to stream UI3 in an iframe using the basic authentication method. According to the help document, this should be supported and it does work without requiring authentication or under the “Lan Only” connection setting on the Web Server. What doesn’t work, is passing the basic http authentication credentials to UI3 in an iframe.

It’s not that complicated when I break it down like this:

I want to stream UI3 on a webpage using an iframe while also using basic http credentials.

So when one visits:

http://blueirisserver:81/ui3.htm?user=admin&pw=admin

It works but it prompts for login credentials when using the same URL in an iframe.

Re: BI5 and iframes

Posted: Tue Mar 15, 2022 7:42 am
by YrbkMgr
Gotcha. Maybe take a look at UI3 Help -> UI extensions. It's not my forté but if that doesn't get you where you're going, in your shoes, I'd ask the UI3 developer via the first page of help. It may not be a UI3 thing, but that guy would know if and how.

Re: BI5 and iframes

Posted: Tue Mar 15, 2022 7:25 pm
by christopher_init
YrbkMgr wrote: Tue Mar 15, 2022 7:42 am Gotcha. Maybe take a look at UI3 Help -> UI extensions. It's not my forté but if that doesn't get you where you're going, in your shoes, I'd ask the UI3 developer via the first page of help. It may not be a UI3 thing, but that guy would know if and how.
Thanks! That is helpful.