PlexSSO icon indicating copy to clipboard operation
PlexSSO copied to clipboard

PlexSSO for generic NGINX site does not redirect after authentication

Open Nammurg opened this issue 1 year ago • 3 comments

I have been testing this with my setup where I would like to have PlexSSO authenticate users before being able to access a resource. I have configured NGINX where that resource is hosted and when it loads, I see the login page of PlexSSO. -- So far so good. When I authenticate with my plex account, it logs me in successfully (I can see it is now logged in as it prompts me to logout), however, it never redirects me to the resource. When using the resource URL, I am always presented with the PlexSSO screen on logged in mode.

Any ideas?

Nammurg avatar Dec 03 '24 20:12 Nammurg

Check https://github.com/drkno/PlexSSO/issues/67 there is mine working configs, maybe they will help you

troshab avatar Dec 06 '24 11:12 troshab

@Nammurg please share your nginx configs (with domains + anything TLS censored), as it will help with suggesting solutions.

In addition to the configs @troshab shared, you can see some existing simple examples in the repository, and some much more detailed ones here.

drkno avatar Dec 07 '24 10:12 drkno

It might be worthwhile to provide a link to the mentioned repository somewhere in the PlexSSO description, it could make it easier to see the “full situation” regarding PlexSSO configuration :)

troshab avatar Dec 07 '24 11:12 troshab