Comment 0 for bug 1703109

Revision history for this message
Colleen Murphy (krinkle) wrote :

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.