The iFrame Login "Solution" is broken on 1.9.3.4290

Running PMS 1.9.3.4290 I no longer get the “click here to login” button which was a recent solution to breaking iFrame support a couple weeks ago, but instead just a blank page.

Any chance this will be resolved or is Plex just done with iFrame’s altogether?

Curious as well.

@jesse.g said:
Running PMS 1.9.3.4290 I no longer get the “click here to login” button which was a recent solution to breaking iFrame support a couple weeks ago, but instead just a blank page.

Any chance this will be resolved or is Plex just done with iFrame’s altogether?

I’ve reported this and engineering will be investigating.

@kinoCharlino where was this reported? Anyway we can track this issue? Thanks.

@iPerplexed said:
where was this reported? Anyway we can track this issue? Thanks.

This was reported internally to engineering, specifically the folks who work on federated auth. We don’t provide a public issue tracking system, however I can provide an update on this. A fix for iFrames in the login page was deployed in PMS 1.9.4.

@kinoCharlino I’m running Version 1.9.4.4325 and unless I’m already authed it does not create the new page for login like it had previously done.

1 Like

@jonfinley said:
@kinoCharlino I’m running Version 1.9.4.4325 and unless I’m already authed it does not create the new page for login like it had previously done.

Can you verify this using developer tools in browser? We just tested this as functioning. In Chrome enable the JavaScript Console, choose the Console context. It needs to be focused on the internal app, not on the external iframe context. You should see index.html in pink and below that:

window != window.top
true

window is “the page you are running a script in.” window.top is “a window object for a parent page (frame or iframe).” So the check is “is this window object not the same as the parent window object”, which will be true if the script is running in an iframe.

@kinoCharlino I can confirm that it still doesn’t work as of 1.9.4.4325.

I dun did run the console command and it did come back as true. Very odd…

window != window.top
true
1 Like

@kinoCharlino here is a video of what is happening

1 Like

@causefx Thanks for the video. We have reports of this working fine by several, including Ninjas, so this is odd behavior. I’ll get back to you when I have more info.

Let me do some more testing. I will restart plex and clear cache etc…

@causefx,

Thanks again for the video. After reviewing it, we can see that the server you are trying to access at https://plex.sonflix.com/web/index.html is running web version 3.20.7, indicating it is on an older PMS version. The latest web version is 3.23.1 You’ll need to update PMS running there.

Ok, so I can confirm that it didn’t work in either Chrome, FireFox nor Edge.
You’re more than welcome to try on https://dev.organizr.us

1 Like

@causefx,

We started with https://dev.organizr.us which is recognizable in the video. It iFrames sonflix.com, which shows an old version of Plex Web.

@kinoCharlino
EDIT: I notice app.plex.tv is on 3.23.1
here is the version of sonflix.com

1 Like

@causefx

Right so as mentioned, sonflix.com shows Plex Web 3.20.7, which is outdated. PMS 1.9.4.4325 ships with web version 3.23.1. Is this the same server as the other screenshots? If it was 1.9.4 Plex Web would be the latest version.

@kinoCharlino Yes, they are the same server.

1 Like

@kinoCharlino
want me to update to newest 1.9.5 that just came out?

1 Like

@causefx said:
want me to update to newest 1.9.5 that just came out?

Updating won’t help. Took a deeper look and it appears it has to do with whatever custom work you are doing on your end.

In my /etc/hosts file I made a “fake” domain for plex.myfakedomain.com. I pointed this domain at 127.0.0.1 (my local host plex server. I replaced your domain with my fake domain. As you can see in the screenshot it is loading. I’m noticing you are using a reverse proxy though Cloudflare, with lots of custom work. That’s where the failure is likely happening. We’ve verified iFrames does work when using a basic plex server iFramed into a page. Sorry it doesn’t work for you, but your setup is highly specialized and not something we support. Best of luck.

@kinoCharlino

So for giggles I updated to 1.9.5 which gave me Plex Web 3.20.8

It appears to work.

1 Like