This topic was automatically generated from Slack. You can find the original thread here.
Hey team,
I’m running into an issue with the Pipedream Connect frontend client.
• When I trigger Connect through the injected iframe, the popup does open, but the SDK still throws a connect account popup blocked
error.
• Because of this, completing the OAuth flow in the popup doesn’t propagate any updates back to the modal / parent.
• If I bypass the iframe and open the Connect URL directly via browser.open
, the flow completes, but that leads to awkward nested popups.
Creating the client:
const pipedream = createFrontendClient({
externalUserId: orgId,
tokenCallback,
});
Calling the client:
const handleConnectService = () => {
pipedream?.connectAccount({
app: nameSlug,
onSuccess: (res) => {
console.log(res);
},
onError: (err) => {
console.log(err);
},
onClose: (status) => {
console.log(status);
},
});
};
Thanks!