yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65709
[Bug 1703109] [NEW] Django 1.10.x breaks WEBSSO login form on firefox
Public bug reported:
When using horizon's WebSSO feature and selecting an external IdP for
the "Authenticate Using" field, clicking the Connect button produces a
popup box in the upper left corner saying "Please fill out this field"
instead of forwarding to the keystone IdP. This only happens on Firefox,
it works fine in Chrome. The problem goes away when Django is downgraded
from 1.10.x to 1.9.13. The problem also goes away when the "required"
attribute of these input fields are deleted using the Inspector tool in
firefox:
<input autofocus="autofocus" class="form-control" id="id_username" name="username" required="" type="text">
<input class="form-control" id="id_password" name="password" required="" type="password">
Steps to reproduce:
In local_settings.py, set:
WEBSSO_ENABLED = True
WEBSSO_CHOICES = (("mapped", _("Mapped")),)
Open the dashboard in Firefox and click "Connect".
Expected result:
Horizon redirects to /identity/v3/auth/OS-FEDERATION/websso/mapped and
produces a 401 because keystone isn't set up for federation.
Actual result:
Horizon produces a small box in the upper left that says "Please fill
out this field" with a little arrow that seems like it's intending to
point to an empty field but is pointing to nothing in particular.
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1703109
Title:
Django 1.10.x breaks WEBSSO login form on firefox
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When using horizon's WebSSO feature and selecting an external IdP for
the "Authenticate Using" field, clicking the Connect button produces a
popup box in the upper left corner saying "Please fill out this field"
instead of forwarding to the keystone IdP. This only happens on
Firefox, it works fine in Chrome. The problem goes away when Django is
downgraded from 1.10.x to 1.9.13. The problem also goes away when the
"required" attribute of these input fields are deleted using the
Inspector tool in firefox:
<input autofocus="autofocus" class="form-control" id="id_username" name="username" required="" type="text">
<input class="form-control" id="id_password" name="password" required="" type="password">
Steps to reproduce:
In local_settings.py, set:
WEBSSO_ENABLED = True
WEBSSO_CHOICES = (("mapped", _("Mapped")),)
Open the dashboard in Firefox and click "Connect".
Expected result:
Horizon redirects to /identity/v3/auth/OS-FEDERATION/websso/mapped and
produces a 401 because keystone isn't set up for federation.
Actual result:
Horizon produces a small box in the upper left that says "Please fill
out this field" with a little arrow that seems like it's intending to
point to an empty field but is pointing to nothing in particular.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1703109/+subscriptions
Follow ups