Red Hat Bugzilla – Bug 1329937
UX: Obscure 'API authentication failed' message when trying to log in with incorrect password
Last modified: 2016-06-29 11:53:41 EDT
Description of problem: SSIA Version-Release number of selected component (if applicable): 5.6-beta2.3 How reproducible: Always Steps to Reproduce: 1. Use incorrect creds and try to log in, multiple times Actual results: 'API authentication failed' message(s), stacking with every unsuccessful attempt. Expected results: A single 'Incorrect username or password' (or similar, more descriptive) message. Additional info: 'API authentication failed' is not helpful at all. Does that mean the API could not be reached? Does it mean an internal error happened when processing the login request? Does it mean the login or password were simply incorrect?
There already is a bugzilla for the multiple messages here https://bugzilla.redhat.com/show_bug.cgi?id=1327042. This BZ is to address the obscurity of the error message.
*** Bug 1330326 has been marked as a duplicate of this bug. ***
PR merged: https://github.com/ManageIQ/manageiq/pull/8274
Verified fixed in 5.6.0.5-beta2.4.20160503153816_1fb554f.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348