Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1468460

Summary: Support 'error' field in JSON SSO response
Product: [oVirt] ovirt-engine-sdk-python Reporter: Ondra Machacek <omachace>
Component: CoreAssignee: Ondra Machacek <omachace>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.4CC: bugs, juan.hernandez, lsvaty
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
lsvaty: testing_ack+
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ovirt-engine-sdk4-4.2.1-1.a1.20170718git56b2d49 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 10:09:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondra Machacek 2017-07-07 07:37:31 UTC
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'.

Comment 1 Oved Ourfali 2017-07-07 18:17:41 UTC
Targeting to 4.2. 
Do we need it also on 4.1.z?

Comment 2 Ondra Machacek 2017-07-11 13:57:27 UTC
No, OpenId is just for 4.2.

Comment 3 Gonza 2018-01-29 15:17:19 UTC
Verified with:
ovirt-engine-4.2.1.1-0.1.el7.noarch

{"error_description":"Cannot authenticate user 'admin@internal': The username or password is incorrect..","error":"access_denied"}%

Comment 4 Sandro Bonazzola 2018-02-12 10:09:49 UTC
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.