You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
without --token, prompts for a username and password and logs oc in
with --token, just opens a page in the browser and exits 0
This makes it hard to incorporate ocm cluster login in a shell script.
Instead, with --token the tool should prompt for a username (or take it from --username) and after (optionally) displaying the page, prompt for the token, and then execute oc with it to log in.
The text was updated successfully, but these errors were encountered:
AFAICT,
ocm cluster login
:--token
, prompts for a username and password and logs oc in--token
, just opens a page in the browser and exits 0This makes it hard to incorporate ocm cluster login in a shell script.
Instead, with
--token
the tool should prompt for a username (or take it from--username
) and after (optionally) displaying the page, prompt for the token, and then executeoc
with it to log in.The text was updated successfully, but these errors were encountered: