Bug 1879417 - Authentication Operator does password grant flow even though discovery endpoint only supports authorization code flow
Summary: Authentication Operator does password grant flow even though discovery endpoi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 4.5
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 4.5.z
Assignee: Standa Laznicka
QA Contact: pmali
URL:
Whiteboard:
Depends On: 1877803
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 09:12 UTC by Standa Laznicka
Modified: 2023-12-15 19:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Some OIDC servers ignore "Accept: application/json" when requesting a flow that they don't support. Consequence: Such OIDC servers may respond with an HTML page that the authentication operator fails to parse as it's expecting json. The authentication operator failed to honor the IdP config in that case. Fix: Have the authentication operator ignore the error and don't allow CLI-logins for such OIDC servers. Result: The IdP config for all properly-working OIDC servers should now be functioning.
Clone Of: 1877803
Environment:
Last Closed: 2020-10-19 14:54:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-authentication-operator pull 349 0 None closed Bug 1879417: don't error out on non-json output of password grant attempt 2020-11-02 05:08:01 UTC
Red Hat Product Errata RHBA-2020:4228 0 None None None 2020-10-19 14:54:48 UTC

Comment 5 errata-xmlrpc 2020-10-19 14:54:26 UTC
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 (OpenShift Container Platform 4.5.15 bug fix update), 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-2020:4228


Note You need to log in before you can comment on or make changes to this bug.