@aloma.io/integration-sdk 3.8.32 → 3.8.33
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.
@@ -13,7 +13,9 @@ export const onConnect = ({ dispatcher, configSchema, config, start, }) => {
|
|
13
13
|
secrets,
|
14
14
|
config,
|
15
15
|
});
|
16
|
-
|
16
|
+
if (decrypted?.oauthResult?.scope) {
|
17
|
+
console.log(`Scope: ${decrypted.oauthResult.scope}`);
|
18
|
+
}
|
17
19
|
await patchStartOAuth({ dispatcher, decrypted });
|
18
20
|
await patchFinishOAuth({ dispatcher, decrypted, config, transport });
|
19
21
|
const theOAuth = await makeOAuth({
|
package/package.json
CHANGED
@@ -28,8 +28,10 @@ export const onConnect = ({
|
|
28
28
|
secrets,
|
29
29
|
config,
|
30
30
|
});
|
31
|
-
|
32
|
-
|
31
|
+
|
32
|
+
if (decrypted?.oauthResult?.scope) {
|
33
|
+
console.log(`Scope: ${decrypted.oauthResult.scope}`)
|
34
|
+
}
|
33
35
|
|
34
36
|
await patchStartOAuth({dispatcher, decrypted});
|
35
37
|
await patchFinishOAuth({dispatcher, decrypted, config, transport});
|