If you attempt to log in from the command line (`oc login https://your.server`), you get prompted to obtain a token via a web login, and are given a command to take back to the CLI to log in.
On Tue, May 29, 2018 at 9:53 AM, Tim Dudgeon <[email protected]> wrote: > We've set up our OpenShift environment to use GitHub as an authentication > provider as described in [1]. > Logging in through the web console works perfectly. > What's not clear is now to login using the CLI. Using: > > oc login https://your.server -u githubusername > > is clearly not going to work. Presumably you need to get some form of > token form github and then specify that. > How does one go about doing this? > > [1] https://docs.openshift.org/latest/install_config/configuring > _authentication.html#GitHub > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
