Automate create of cluster OPENID identify provider

Posted on

Hi
I am newish to openshift and I am currently trying to automate the creation of openshift clusters.
All is good except for adding a OpenID identity provider to the new cluster. I can do it with the console but not the cli.

Specifically how to you generate the OAuth Callback URL via the CLI ?
I need that to configure the actual OpenID provider.. so I can then generate the ClientID, CLient Secret & endpoint to then complete the creation of the provider on the openshift cluster.

Has anyone come across a walk through of how to use the cli to configure a openID IdP ?

Thanks in advance !