WebSSO initial redirect 404s
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Radomir Dopieralski |
Bug Description
On current master of horizon, when WebSSO is configured, after selecting the SSO auth method from the "Authenticate Using" dropdown menu, instead of redirecting to the configured identity provider, horizon redirects to /dashboard/
git bisect shows that this is the commit that introduced the bug: https:/
stable/rocky works fine.
Steps to reproduce
------------------
Configure horizon with:
WEBSSO_ENABLED = True
WEBSSO_CHOICES = (("credentials", _("Keystone Credentials")), ("mapped", _("External Authentication Service")),)
DEBUG = True
In the dropdown menu on the login screen, select "External Authentication Service"
Expected behavior
-----------------
Horizon should redirect to the configured identity provider for the keystone federation protocol named "mapped". If you have not fully set up federation in keystone, keystone should return a 401.
Actual behavior
---------------
Horizon returns a 404 with this message:
Using the URLconf defined in openstack_
^$ [name='splash']
^api/
^header/
^home/$ [name='user_home']
^i18n/js/
^i18n/setlang/$ [name='
^i18n/
^jasmine-legacy/$ [name='
^jasmine/.*?$
^settings/
^identity/
^admin/
^project/
^ngdetails/ [name='ngdetails']
^auth/ ^login/$ [name='login']
^auth/ ^logout/$ [name='logout']
^auth/ ^switch/
^auth/ ^switch_
^auth/ ^switch_
^auth/ ^websso/$ [name='websso']
^auth/ ^error/$
^dashboard\
^dashboard\
^500/$
The current path, auth/login/
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in horizon: | |
milestone: | none → stein-1 |
Fix proposed to branch: master /review. openstack. org/611349
Review: https:/