Issue with LDAP/OIDC when 1st installing behing reverse proxy
-
wrote 14 days ago last edited by
Hi,
A quick disclaimer to the below: using Cloudron behind a reverse proxy is not officially supported.
With this being said at the moment and with Cloudron being behind NPM in a lab environment:
- When first installing, leaving user management to the app, everything work fine and the first time a user access Firefly III, the user is prompted to create an admin Firefly III user
- However, when first installing and choosing for user access to be cloudron managed (OIDC) then, upon first login, the user get the possibility to "Login with Cloudron", but clicking on the login button result in an openresty 502 Bad gateway Error (presumably from NPM).
Additional info:
- There is no relevant info in the Cloudron server logs
- The favicon is fetched correctly in both scenario (shows up on the 502 error page)
I am still filtering through the NPM logs but since this instance is serving everything and anything, it is taking a while to "comb".
What is throwing me off a bit is the reason behind it working with no Cloudron user access management and, not working when Cloudron manage user access.
I presume that this could have to do with the Remote User Guard settings / Headers
Maybe someone already ran into this situation or we have some NPM experts around here?
Any tips?Many thanks,
-
Is NPM already added as a trusted proxy - https://docs.cloudron.io/networking/#trusted-ips ? Other than that, I don't know much about NPM to help..