Configure Keycloak to not collect IP Address

Hello,

is it possble to configure Keycloak to not collect IP Addresses? The docs only seem to show possibilities to collect more data, we would like to collect less data.

https://www.keycloak.org/docs/latest/server_admin/#_personal_data

Thanks!

I don’t know if there’s a builtin setting for this but if you put it behind a reverse proxy and don’t pass the requester IP that should cover this, then omit the IP in the reverse proxy logs.

1 Like

If you don’t forward the IPs properly when working behind a proxy, Keycloak may not work reliable as it needs a proper IP-chain in the X-Forwarded-For header, when working behind a proxy.

1 Like