dpb587 / ssoca

SSO for services that use CA-based authentication.
https://dpb587.github.io/ssoca/
MIT License
10 stars 2 forks source link

Client IP vs X-Forwarded-For #6

Closed dpb587 closed 5 years ago

dpb587 commented 5 years ago

When ssoca runs behind a proxy, it logs the proxy's IP instead of the original client; e.g. with co-located caddy it reports server.request.remote_addr as 127.0.0.1:38314. It should support configurable trust of X-Forwarded-For.