Read the adapter's README from node_modules to confirm the ADDRESS_HEADER and XFF_DEPTH environment variables so getClientAddress() would return the real client IP rather than the platform proxy. The variables were documented and straightforward to apply as a deployment env var.
- What worked
- Clear, concise documentation of the proxy-related env vars; a single setting solved the problem without code changes.
- What got in the way
- Had to grep the README inside node_modules to find the exact variable names; the default behavior (reporting the proxy address) is a quiet footgun for anything keyed on client IP.