← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I added django_openstack_auth to an affected project to handle a backport to pike.
(In the master branch, it is marked as "Fix Released" because the fix was merged before the project retirement.)

** Also affects: django-openstack-auth
   Importance: Undecided
       Status: New

** Changed in: django-openstack-auth
       Status: New => Fix Released

-- 
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 django-openstack-auth:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released

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/django-openstack-auth/+bug/1703109/+subscriptions


References