diff --git a/Documentation/connectors/openshift.md b/Documentation/connectors/openshift.md index bd3df40d..66a56589 100644 --- a/Documentation/connectors/openshift.md +++ b/Documentation/connectors/openshift.md @@ -21,10 +21,10 @@ OpenShift Service Accounts can be used as a constrained form of OAuth client. Ma Patch the Service Account to add an annotation for location of the Redirect URI ``` -oc patch serviceaccount --type='json' -p='[{"op": "add", "path": "/metadata/annotations/serviceaccounts.openshift.io~1oauth-redirecturi.dex", "value":"https:////callback"}]' +oc patch serviceaccount --type='json' -p='[{"op": "add", "path": "/metadata/annotations/serviceaccounts.openshift.io/oauth-redirecturi.dex", "value":"https:////callback"}]' ``` -The Client ID for a Service Account representing an OAuth Client takes the form ` +The Client ID for a Service Account representing an OAuth Client takes the form `system:serviceaccount::` The Client Secret for a Service Account representing an OAuth Client is the long lived OAuth Token that is configued for the Service Account. Execute the following command to retrieve the OAuth Token.