OpenID Connect with ROPC grant flow not working with oc client

Solution Verified - Updated -

Issue

  • After configuring AzureAD as OIDC IdP we would like to use oc login with a ROPC grant flow. But the oc login is still asking for a token (Authorization Code Flow) instead of choosing username/password (ROPC grant flow) for the authentication.

Environment

  • Red Hat OpenShift Container Platform (OCP) 4

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