Is it possible to pass an Identity Provider value while logging in to the cluster using CLI?

Solution In Progress - Updated -

Issue

  • Is there a way to pass a value for Identity provider through oc login command?
  • While logging into the cluster through the OpenShift web-console, there is an option to choose between the IDP's configured while the same is not possible via CLI.

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

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