origin icon indicating copy to clipboard operation
origin copied to clipboard

Make oc login works against github/google identity provider

Open wanghaoran1988 opened this issue 9 years ago • 5 comments

Currently, oc login only works with htpassword/ldap ... identity provider which user can input user/pass to login successful, for the OAuth based identity provider, use should open the openshift webconsole to login and get the token the login with token using oc, it will be better, if user run "oc login"(when use github/google) then the client will open the webconsole automatically to let use login using their github/google account, after that, oc should receive the user info, add finish the login on the oc client side

wanghaoran1988 avatar Mar 15 '17 05:03 wanghaoran1988

That's seems interesting and convenient when use openshift for a public container cluster.

guangxuli avatar Mar 15 '17 06:03 guangxuli

Seems we have card for this

wanghaoran1988 avatar Mar 16 '17 13:03 wanghaoran1988

closing in favor of trello, thanks for adding the reference!

pweil- avatar Mar 16 '17 14:03 pweil-

"Card not found." any updates on this?

lkhomenk avatar Mar 02 '20 11:03 lkhomenk

any update ?

I found a OIDC plugin (https://github.com/int128/kubelogin) but nothing for github.

schabrolles avatar Dec 19 '23 13:12 schabrolles