We use Flask's Request.remote_addr which is from Werkzeug:
https://github.com/pallets/werkzeug/blob/504a8c4fbda9b8b2fd09e817544ffd228f23458e/src/werkzeug/wrappers/request.py#L127
That pulls it from the environment which is set by what? Should we be doing more in the library and/or docs for IP forwarding?
I didn't realize getting the "real" ip address of the client was so involved and potentially risky:
See also: https://flask-security.readthedocs.io/en/stable/quickstart.html#proxy-configuration