Skip to content

Commit 8209053

Browse files
committed
auth code
1 parent 51f9d62 commit 8209053

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

modules/ccs-gcp-customer-procedure-wif.adoc

+9-5
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,21 @@ Besides the required customer procedures listed in _Required customer procedure_
3939

4040
. Install the link:https://console.redhat.com/openshift/downloads[OpenShift Cluster Manager API command-line interface (`ocm`)].
4141
+
42-
To use the OCM CLI, you must authenticate against your Red Hat {cluster-manager} account. This is accomplished with the {cluster-manager} API token.
43-
+
44-
You can obtain your token link:https://console.redhat.com/openshift/token/show[here].
42+
// To use the OCM CLI, you must authenticate against your Red Hat {cluster-manager} account. This is accomplished with the {cluster-manager} API token.
43+
// +
44+
// You can obtain your token link:https://console.redhat.com/openshift/token/show[here].
4545

4646
. To authenticate against your Red Hat {cluster-manager} account, run the following command:
4747
+
4848
[source,terminal]
4949
----
50-
$ ocm login --token <token> <1>
50+
$ ocm login --use-auth-code
5151
----
52-
<1> Replace `<token>` with your {cluster-manager} API token.
52+
-> ocm login --use-auth-code
53+
You will now be redirected to Red Hat SSO login
54+
Login successful
55+
To switch accounts, logout from https://sso.redhat.com and run `ocm logout` before attempting to login again
56+
5357
+
5458
[IMPORTANT]
5559
====

0 commit comments

Comments
 (0)