Hello,
Until Kanboard 1.2.48, this config file is working fine [link in next post because of discourse limitation]
(even though after some further tests I notice that only REMOTE_USER is fine among defined reverse proxy headers).
Since then, we’ve been having a lot of trouble to find a working reverse proxy config. The current config attempt is this one [link in next post because of discourse limitation] and after loggin in SSO, going to Kanboard shows a blank page.
Here is the SSO provider documentation which works with Basic Auth (Authentication header sends something like Basic {a_long_password_string}): SSO/LDAP integration | Yunohost
I can dump all reverse proxy headers successfully on Kanboard’s index.php (so there are passed by the reverse proxy), and I don’t believe there has been any change within the SSO provider code itself.
As for LDAP config it seems to work fine since when setting define('HIDE_LOGIN_FORM', false);, it is possible to login with LDAP user credentials.
The reverse proxy is nginx and it is located on the same machine than Kanboard. I came upon this ticket [Bug]: Blank page after upgrade to Kanboard 1.2.48/1.2.49 · Issue #5754 · kanboard/kanboard · GitHub. But neither setting define('TRUSTED_PROXY_NETWORKS', '0.0.0.0/32, ::ffff:0:0/128'); nor commenting out the related snippet does help.
One small lead - when dumping $this->userInfo in app/Auth/ReverseProxyAuth.php in 1.2.48, it includes the correct username, but contains no username in 1.2.52 (I guess from 1.2.49).
Would anyone have an idea on this?