horizon/openstack_auth/plugin
Tobias Urdin 6a3fa87cde Pass client IP to keystoneauth1 session
This passes the client IP to the keystoneauth1 Session's
original_ip parameter.

This sets the Forwarder HTTP header so that when the request
lands in Keystone the request can actually be interpreted who
made the request and not only that it was proxied by Horizon.

  Forwarded: for=100.64.10.1;by=openstack_auth keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.6.8

In the above example header the 100.64.10.1 is the client IP
that is sent from a load balancer in the X-Forwarded-For header
while the actual REMOTE_ADDR in the HTTP request is the load balancers
IP address.

Change-Id: I52da9dcd7fb6b1ac46852718f285795628121e26
2022-05-24 10:38:02 +00:00
..
__init__.py Add Django OpenStack Auth to Horizon 2017-09-27 12:06:57 +01:00
base.py Pass client IP to keystoneauth1 session 2022-05-24 10:38:02 +00:00
k2k.py Address RemovedInDjango40Warning (2) 2022-02-04 16:22:07 +09:00
password.py Drop deprecated Keystone V2 API support 2019-09-12 17:15:07 +00:00
token.py Drop deprecated Keystone V2 API support 2019-09-12 17:15:07 +00:00