← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540728] [NEW] fix hiding of domain and region fields on login screen

 

Public bug reported:

When Horizon is  configured with WebSSO enabled the domain field and
region field should be hidden when the selected auth_type NOT "Keystone
Credentials".

Steps to Reproduce
------------------------------
1. Edit the local_settings.py to have the following

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

WEBSSO_ENABLED = True
WEBSSO_CHOICES = (
 ("credentials", "Keystone Credentials"),
 ("saml2", "ADFS Credentials"),
 )

* In addition to Keystone V3 settings.

2. Login into Horizon
3. Select 'Keystone Credentials' from the dropdown control.
4. Observe that the domain field is present along with the name and password fields.
5. Select 'ADFS Credentials'
6. Observe that the domain field is present.

Expected Behavior
----------------------------
Selecting 'ADFS Credentials' or anything other than 'Keystone Credentials' should hide all the input fields including domain and region.

** Affects: horizon
     Importance: Undecided
     Assignee: Dan Nguyen (daniel-a-nguyen)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Dan Nguyen (daniel-a-nguyen)

-- 
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/1540728

Title:
  fix hiding of domain and region fields on login screen

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When Horizon is  configured with WebSSO enabled the domain field and
  region field should be hidden when the selected auth_type NOT
  "Keystone Credentials".

  Steps to Reproduce
  ------------------------------
  1. Edit the local_settings.py to have the following

  OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

  WEBSSO_ENABLED = True
  WEBSSO_CHOICES = (
   ("credentials", "Keystone Credentials"),
   ("saml2", "ADFS Credentials"),
   )

  * In addition to Keystone V3 settings.

  2. Login into Horizon
  3. Select 'Keystone Credentials' from the dropdown control.
  4. Observe that the domain field is present along with the name and password fields.
  5. Select 'ADFS Credentials'
  6. Observe that the domain field is present.

  Expected Behavior
  ----------------------------
  Selecting 'ADFS Credentials' or anything other than 'Keystone Credentials' should hide all the input fields including domain and region.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1540728/+subscriptions


Follow ups