-
Notifications
You must be signed in to change notification settings - Fork 24
Plugin doesn't work behind reverse proxy #120
Comments
Hello @alesuiss, |
Hello @Izanagi52 Here is my very crude patch:
|
Thanks for the tips! |
@Izanagi52 you may need to make sure your proxy actually does set the X-Forwarded-* headers. Example for nginx:
... or in the same Utils.php file there are other params to force these ( |
Thanks again, but it doesn't change anything for me... |
@Izanagi52 Something that helped me was changing this line to something like After I changed that and set |
Adding to #120 (comment) as it did not work for me. and additionally doing this solved the problem in my instance, which is Apache running behind nginx reverse proxy. |
derricksmith#120 This needs additional testing in cojunction with proxyVars(true)
For apache, the syntax is like that, if it helps:
|
Hello,
We encountered an issue where SAML responses were rejected with:
This is because the app is hosted on Kubernetes and thus behind a reverse proxy. The upstream
php-saml
lib has a few ways to work around that, c.f. its README; in our case it was enough to enable thesetProxyVars
parameter.Ideally this parameters and/or other workarounds should be exposed in the settings UI; sorry that I don't have the time to create a proper patch and pull request for this.
Thanks,
Arthur
The text was updated successfully, but these errors were encountered: