[AAE-9169] adf-cli - Change the doc and add clientId input (#7730)

* Change the doc and add input

* fix mistake
This commit is contained in:
Maurizio Vitale
2022-07-28 14:02:43 +02:00
committed by GitHub
parent 4c249c8106
commit 46420ea0b2
6 changed files with 13 additions and 8 deletions

View File

@@ -10,7 +10,8 @@ export class CheckEnv {
constructor(
private host: string,
private username: string,
private password: string
private password: string,
private clientId: string = 'alfresco'
) {}
async checkEnv() {
@@ -22,7 +23,7 @@ export class CheckEnv {
authType: 'OAUTH',
oauth2: {
host: `${this.host}/auth/realms/alfresco`,
clientId: 'alfresco',
clientId: `${this.clientId}`,
scope: 'openid'
}
} as any);