#Login doesn't work in Iframe (in Hassio)

11 messages Β· Page 1 of 1 (latest)

summer surge
#

Hi,

I have put Overseerr behind a reverse proxy (nginx) to be able to access it with SSL. It works fine, but when I put it in an iframe in a Home Assistant panel, then none of the sing in method works.
When I use plex auth, then it pops up a new window where I can sign in via Plex, but the signing is just spinning in the iframe after I logged in.
If I use local auth, then nothing happens after I click on sign in (apart from a few seconds loading).
Could someone please advise on what I'm doing wrong? Many thanks!

#

I'm also curious to know if there is any way to automatically login to Overseerr πŸ™‚

night rock
#

looks like you are using a subfolder for overseerr which is not officially supported (see https://docs.overseerr.dev/extending-overseerr/reverse-proxy)

Base URLs cannot be configured in Overseerr. With this limitation, only subdomain configurations are supported.
A Nginx subfolder workaround configuration is provided below, but it is not officially supported.

the unsupported workaround documented there does not work since 3 or 4 versions, but there seems to be a new workaround found here:
https://github.com/sct/overseerr/issues/274#issuecomment-1279709298

otherwise use a subdomain for overseerr, then the reverse proxy should work

don't think that home assistant has a function for overseerr SSO. alternatives would be organizr or heimdall (organizr for sure, heimdall should be, source: https://docs.overseerr.dev/extending-overseerr/third-party)

GitHub

Is your feature request related to a problem? Please describe. I'm reverse-proxying all services on main domain with caddy. Like https://example.com/radarr/ and https://example.com/sonarr/ ...

summer surge
# night rock looks like you are using a subfolder for overseerr which is not officially suppo...

Thanks for your reply. I'm actually using a domain, not a subfolder for Overseerr.
It runs in an LXC and it's accessible locally via overseerr.home.lab and nginx is listening to overseerr.nginx.lab.
So I'm not sure if the mentioned workaround applies to my problem.

Organizr and heimdall actually looks really good, but I was hoping to have a similar functionality using panels in Hassio, but I'm starting to see some limitations.

summer surge
warped estuary
#

You will always 401 accessing /auth/me because you are not logged in πŸ™‚

#

We periodically ping that endpoint to see if you are logged in or not, which is why you are seeing it come up.

#

As for your issue, we have never tested OS inside of an iframe. So I am not sure how I can help you. Although Organizr seems to not have an issue with it being in an iframe? Maybe see what they are doing.

summer surge
#

I see, thanks for letting me know. I'll try to find a way to make it work πŸ™‚

thorn niche
#

@summer surge did you find a workaround in the end? i'm facing the exact same iframe issue with Dashy.

#

Plex works inside an iframe but Overseerr doesn't and i'm not sure why. i get the same HTTP 401 error.