** Changed in: snappy
     Assignee: (unassigned) => John Lenton (chipaca)

** Changed in: snappy
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1598657

Title:
  No error id for username/password error returned from snapd

Status in Snappy:
  Fix Committed
Status in gnome-software package in Ubuntu:
  New

Bug description:
  If you fail to authentication with snapd the response is:

  {"type":"error","status-
  code":401,"status":"Unauthorized","result":{"message":"cannot get
  discharge macaroon from store: Provided email/password is not
  correct."}}

  In comparison, if you provide valid credentials but need two factor
  you get the response:

  {"type":"error","status-
  code":401,"status":"Unauthorized","result":{"message":"two factor
  authentication required","kind":"two-factor-required"}}

  The latter response has a 'kind' field which a client can use to
  provide appropriate text / imagery to inform the user. The former
  response does not, and the message is inappropriately technical to
  show to a user.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to