Closed Jollyfant closed 3 years ago
From http://flask.pocoo.org/docs/1.0/reqcontext/ I assume it can be as simple as adding..
from flask import request
print(request.remote_addr)
Started this in #73
Fixed at https://github.com/damb/eidaws. The original client IP is forwarded to endpoints using the X-Forwarded-For
HTTP header field.
The user IP should be forwarded to the endpoint through the appropriate HTTP header. I am not sure of the easiest way to propagate the address all the way down to
RequestHandlerBase
.