fix(core): Allow ignoring SSL issues on generic oauth2 credentials (#6702)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-07-26 17:56:59 +02:00
committed by GitHub
parent db3c12ffc7
commit feac369f6c
8 changed files with 36 additions and 8 deletions

View File

@@ -265,6 +265,7 @@ oauth2CredentialController.get(
redirectUri: `${getInstanceBaseUrl()}/${restEndpoint}/oauth2-credential/callback`,
scopes: split(scopes, ','),
scopesSeparator: scopes.includes(',') ? ',' : ' ',
ignoreSSLIssues: get(oauthCredentials, 'ignoreSSLIssues') as boolean,
};
if (oauthCredentials.grantType === 'pkce') {