Openshift Oauth use OpenID (Keycloak) as identity provider, oc login failed but can login successful with web console

Solution Verified - Updated -

Issue

Openshift Oauth use OpenID (Keycloak) as identity provider, oc login failed but can successful login with web console
oc login thru "copy to command" (token) can also login successfully.

Environment

RedHat Openshift Container Platfrom 4.9
RedHat Single Sign-on Operator 7.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content