@axway/axway-central-cli 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -62,7 +62,7 @@ class CoreConfigController {
|
|
|
62
62
|
// https://jira.axway.com/browse/APIGOV-20818
|
|
63
63
|
log(`getAuthInfo, clientId value passed, trying to find a matching account`);
|
|
64
64
|
const list = await sdk.auth.list({
|
|
65
|
-
|
|
65
|
+
validate: true
|
|
66
66
|
});
|
|
67
67
|
const matchingAccount = list.find(a => a.auth.clientId === clientId);
|
|
68
68
|
if (matchingAccount) CoreConfigController.devOpsAccount = await sdk.auth.find(matchingAccount.name);
|
|
@@ -74,7 +74,7 @@ class CoreConfigController {
|
|
|
74
74
|
// ELSE: trying to get any authenticated account
|
|
75
75
|
log(`getAuthInfo, account value not passed, trying to find default/any match`);
|
|
76
76
|
const list = await sdk.auth.list({
|
|
77
|
-
|
|
77
|
+
validate: true
|
|
78
78
|
});
|
|
79
79
|
log(`getAuthInfo, authenticated accounts found: ${list.length}`);
|
|
80
80
|
|