fix(editor): Use BroadcastChannel instead of window.opener for OAuth callback window (#9779)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-06-17 13:41:49 +02:00
committed by GitHub
parent a1046607bf
commit 87cb199745
6 changed files with 68 additions and 12 deletions

View File

@@ -39,6 +39,7 @@
:button-label="$locale.baseText('credentialEdit.credentialConfig.reconnect')"
:button-title="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
@click="$emit('oauth')"
data-test-id="oauth-connect-success-banner"
>
<template v-if="isGoogleOAuthType" #button>
<p
@@ -118,6 +119,7 @@
"
:is-google-o-auth-type="isGoogleOAuthType"
@click="$emit('oauth')"
data-test-id="oauth-connect-button"
/>
<n8n-text v-if="isMissingCredentials" color="text-base" size="medium">