mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user