OpenId Connect defines the return variable names in case of error. It requires error and error_description. We used to use error_code instead, before, so we now need to support both 'error' and 'error_code'.
Targeting to 4.2. Do we need it also on 4.1.z?
(In reply to Oved Ourfali from comment #1) > Targeting to 4.2. > Do we need it also on 4.1.z? The change that introduced the new behaviour in the server was not back ported to 4.1, so it only affects 4.2: aaa: Add OpenId support https://gerrit.ovirt.org/76053 In addition another patch has been merged to fix that behaviour specifically for API clients: aaa: SDK requires error and error_code https://gerrit.ovirt.org/79079 That means that this change in the SDK doesn't need to be backported.
Verified with ruby sdk, that json response for login with invalid credentials contains both 'error' and 'error_code': {"error_code":"access_denied","error":"Cannot authenticate user 'admin@internal': The username or password is incorrect.."} Version 4.2.0.2-0.1.el7
Clearing needinfo flag, as it was added by mistake.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.