Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-v2/pages/connect/managed-auth/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ npm i --save @pipedream/sdk

When the user connects an account in your product, [pass the token from your backend](#generate-a-short-lived-token) and call `connectAccount`. This opens a Pipedream iFrame that guides the user through the account connection.

<Callout type="info">
If the Connect popup window doesn't open when users try to connect their accounts, set your `Cross-Origin-Opener-Policy` header to `same-origin-allow-popups`. This fixes cases where the Connect popup can't open because a default "same-origin" policy blocks popups from iframes.
</Callout>

Try the interactive demo below to connect an account after generating a token in the previous step:

<div className="not-prose">
Expand Down
6 changes: 6 additions & 0 deletions docs-v2/pages/connect/managed-auth/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ Double-check the app slug you're passing [when connecting your user's account](/

The user may have closed the OAuth popup window without completing authorization.

### Connect popup doesn't open

If the Connect popup window doesn't open when users try to connect their accounts, this is often due to the browser's Cross-Origin-Opener-Policy blocking popups from iframes.

Set your `Cross-Origin-Opener-Policy` header to `same-origin-allow-popups` on the page hosting Connect. This fixes cases where the Connect popup can't open because a default `"same-origin"` policy blocks popups from iframes.

<Callout type="info">
If you're still have trouble or hitting an error that isn't listed here, [get in touch with us](https://pipedream.com/support). We'd love to help.
</Callout>
16 changes: 4 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading