horizon/openstack_auth
Sergey Vilgelm 2842d7df37
Fix untrusted dashboard host
The `openstack_auth login` view uses `request.build_absolute_uri` function
to build an origin uri when websso is enabled and
the WEBSSO_DEFAULT_REDIRECT_PROTOCOL is set.
This function doesn't insert the `WEBROOT` variable into uri what causes an
error:
    http://domain.name/auth/websso/ is not a trusted dashboard host
Using the `build_absolute_uri` from `utils` module fixes this problem. It
generates the right uri:
    http://domain.name/dashboard/auth/websso/

Change-Id: I94100f66a9f07eb8da75d344cbd120838fe25d1e
2019-01-22 23:17:33 -06:00
..
2018-12-30 08:29:34 +00:00
2018-12-22 22:42:54 +09:00
2019-01-15 00:22:27 +09:00
2017-09-27 12:06:57 +01:00
2018-12-22 22:42:54 +09:00
2019-01-22 23:17:33 -06:00