Open Sacerdoss opened 1 week ago
Additional context:
If I open up /webmail/
I will authenticate within my oauth proxy and get redirected to /sso/login
which throws a 500 error. But if I then manually open up /webmail/
again I am authenticated and use the webmail. It seems to be only the /sso/login
route which does not work.
This is probably not a problem in this repo. Rather it is a problem in Mailu/Mailu. The python variable client_ip was not defined in the new _proxy function at: https://github.com/Mailu/Mailu/blob/e4c4498ba8af0b6676678612adba9ccc8d04d124/core/admin/mailu/sso/views/base.py#L148
I have created a PR which should fix this issue: Mailu/Mailu#3314
Describe the bug
When enabling proxy authentication a call to /sso/login creates an error in the admin container. This is a regression. Proxy authentication did not produce such error in a previous version.
Environment
Additional context
Log: