使用格子示例原因

Using plaid example causes

我正在本地进行测试,每当我点击我在 Custom Integration 上找到的示例中的按钮时,我都会收到此错误:

XMLHttpRequest cannot load https://link-tartan.plaid.com/client/info. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://cdn.plaid.com' is therefore not allowed access. The response had HTTP status code 403.

我读到服务器需要在

的响应中添加 header
Access-Control-Allow-Origin: *

但是问题是服务器不归我所有,我只是请求来自 Plaid 的 API 的响应。

我可以做哪些选择并最终解决这些问题?

我收到了 Plaid 支持人员的回复。事实证明它们只支持特定的 IP 地址。所以我要求他们允许我的 IP 地址与他们的 API 进行交易。其他解决方案是使用 VPN,希望对您有所帮助。