react-plaid-link icon indicating copy to clipboard operation
react-plaid-link copied to clipboard

cdn.plaid.com does not set Cross-Origin-Resource-Policy to cross-origin

Open pboling opened this issue 9 months ago • 4 comments

How is this supposed to work?

I always get cdn.plaid.com refused to connect. In developer tools the response headers section shows that CORS headers are not set.

pboling avatar Feb 21 '25 17:02 pboling

  1. Can you confirm you are loading cdn.plaid.com directly rather than proxying it or hosting it? See the documentation here:

https://plaid.com/docs/link/web/

  1. Does it work if you are using the Plaid Link web SDK directly, without react-plaid-link?

phoenixy1 avatar Feb 21 '25 22:02 phoenixy1

This library looks fairly unmaintained, so we're switching to the hosted version of Plaid. Many fewer headaches.

pboling avatar Feb 21 '25 22:02 pboling

I can confirm that it appeared the response was coming from Cloudflare... but I can't control that. Plaid seems to be failing here.

pboling avatar Feb 21 '25 22:02 pboling

Ok, so we switched to the hosted version but it turns out that doesn't work either. See my post on StackOverflow: https://stackoverflow.com/questions/79488057/is-it-possible-to-use-plaid-link-in-a-new-window-the-redirect-uri-never-trigger

Any guidance on this @phoenixy1?

zachwhelchel avatar Mar 06 '25 02:03 zachwhelchel