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:
@@ -21,6 +21,7 @@ async function main() {
|
||||
program
|
||||
.version('0.1.0')
|
||||
.option('--host [type]', 'Remote environment host')
|
||||
.option('--clientId [type]', 'sso client', 'alfresco')
|
||||
.option('-p, --password [type]', 'password ')
|
||||
.option('-u, --username [type]', 'username ')
|
||||
.parse(process.argv);
|
||||
@@ -155,7 +156,7 @@ async function checkEnv() {
|
||||
authType: 'OAUTH',
|
||||
oauth2: {
|
||||
host: `${program.host}/auth/realms/alfresco`,
|
||||
clientId: 'alfresco',
|
||||
clientId: `${program.clientId}`,
|
||||
scope: 'openid'
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user