diff --git a/packages/cli/src/CredentialsHelper.ts b/packages/cli/src/CredentialsHelper.ts index d964daeb9b..99c92a5bc7 100644 --- a/packages/cli/src/CredentialsHelper.ts +++ b/packages/cli/src/CredentialsHelper.ts @@ -296,6 +296,9 @@ export class CredentialsHelper extends ICredentialsHelper { getScopes(type: string): string[] { const scopeProperty = this.getCredentialsProperties(type).find(({ name }) => name === 'scope'); + // edge case: scope property exists but is required to be empty string, e.g. GoToWebinar + if (scopeProperty?.default === '') return []; + if (!scopeProperty?.default || typeof scopeProperty.default !== 'string') { const errorMessage = `No \`scope\` property found for credential type: ${type}`;