websso origin url

asked 2020-01-30 06:37:57 -0600

KrisS gravatar image

Hi,

I've horizon dashboard behind load balancer witch terminate SSL cert. Communication flow USER -> LB(SSL-HTTPS)->HORIZON(http)

.I'v problem with login with websso. Horizon build request with url. http://mykeystone:5000/v3/auth/OS-FEDERATION/identity_providers/sso/protocols/openid/websso?origin=http://dashboard-url/os-dashboard/auth/websso/ (http://mykeystone:5000/v3/auth/OS-FED...). At than moment origin return dashboard with http not https.

How to change or reconfigure horizon to works with https behind lb? My system: Centos 7, Horizon - 16.0.0-1.el7 Keystone - 16.0.0-1.el7 Python2

edit retag flag offensive close merge delete

Comments

I found add RequestHeader set X-Forwarded-Proto "https" to httpd config resolve problems.

KrisS gravatar imageKrisS ( 2020-01-30 10:15:09 -0600 )edit