← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1703109] Re: Django 1.10.x breaks WEBSSO login form on firefox

 

Cherry-pick from django-openstack-auth accidentally closed this bug. We
still need a fix on horizon side (non openstack_auth).

** Changed in: horizon
       Status: Fix Released => In Progress

** Changed in: horizon
    Milestone: queens-2 => queens-3

-- 
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):
  In Progress

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 (tried with 52.2.0), 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


References