mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 09:14:48 +02:00
Added a SAML_BEHIND_PROXY env, which must be set if Part-DB is behind a reverse proxy when using SAML
The php-saml library use its own logic to determine the current path, and we need to set the use_proxy_vars so that it respects the proxy FORWARDED headers. This should fix issue #436
This commit is contained in:
parent
07535c26a6
commit
83d43d931c
5 changed files with 12 additions and 1 deletions
|
@ -230,3 +230,8 @@ Normally you don't have to change anything here.
|
|||
Please note that this file is not saved by the Part-DB backup tool, so you have to save it manually if you want to keep
|
||||
your changes. On docker containers you have to configure a volume mapping for it.
|
||||
|
||||
## SAML behind a reverse proxy
|
||||
|
||||
If you are running Part-DB behind a reverse proxy, configure the `TRUSTED_PROXIES` environment and other reverse proxy
|
||||
settings as described in the [reverse proxy guide]({% link installation/reverse-proxy.md %}).
|
||||
If you want to use SAML you also need to set `SAML_BEHIND_PROXY` to `true` to enable the SAML proxy mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue