← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1412483] [NEW] Horizon UI behavior when browser cookies disabled

 

Public bug reported:

Steps to reproduce:

1) Disable cookies in browser settings.

2) Navigate to Horizon.

3) See login page.

4) Fill username and password fields, then click "Sign In" button

5)
Actual: Forbidden (403) CSRF verification failed. Request aborted. (see screenshot)

Expected: to see some neat message that cookies must be enabled for
logging-in.

Usually good services provide human-friendly warning for user. Examples:
Google: "Oops! Your browser seems to have cookies disabled. Make sure cookies are enabled or try opening a new browser window."
Microsoft: "Cookies must be allowed. Your browser is currently set to block cookies. Your browser must allow cookies before you can use a Microsoft account."

Environment: 
{"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}}}, "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}

Browsers: 
Chrome: Version 39.0.2171.99 (64-bit) on Ubuntu 14.04
Firefox: 35.0  on Ubuntu 14.04

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: ux

** Attachment added: "Horizon_no_cookies.png"
   https://bugs.launchpad.net/bugs/1412483/+attachment/4301848/+files/Horizon_no_cookies.png

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

Title:
  Horizon UI behavior when browser cookies disabled

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:

  1) Disable cookies in browser settings.

  2) Navigate to Horizon.

  3) See login page.

  4) Fill username and password fields, then click "Sign In" button

  5)
  Actual: Forbidden (403) CSRF verification failed. Request aborted. (see screenshot)

  Expected: to see some neat message that cookies must be enabled for
  logging-in.

  Usually good services provide human-friendly warning for user. Examples:
  Google: "Oops! Your browser seems to have cookies disabled. Make sure cookies are enabled or try opening a new browser window."
  Microsoft: "Cookies must be allowed. Your browser is currently set to block cookies. Your browser must allow cookies before you can use a Microsoft account."

  Environment: 
  {"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-26_14-25-46", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "58", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}}}, "fuellib_sha": "fde8ba5e11a1acaf819d402c645c731af450aff0"}

  Browsers: 
  Chrome: Version 39.0.2171.99 (64-bit) on Ubuntu 14.04
  Firefox: 35.0  on Ubuntu 14.04

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


Follow ups

References