为沙盒环境运行获取格式的access_token

时间:2017-04-07 09:08:32

标签: plaid

我想在沙盒模式下为plaid获取示例$http.get(path + 'getNameForMW').then(function successCallback(response) { // this callback will be called asynchronously // when the response is available // you can do something with the response here // like saving it to a variable }, function errorCallback(response) { // called asynchronously if an error occurs // or server returns response with an error status. }); public_token。对于access_tokenaccess_token这样的api,我需要auth。 我通过选择银行并输入凭据来运行演示here institutionsuser_good。当我查看页面时,我确实得到pass_good作为回应。但我无法与public_token进行交换,access_tokenclient_id我在dashboard中唱歌。我一直收到错误secret。我如何获得INVALID_TOKEN

1 个答案:

答案 0 :(得分:1)

通过检查演示应用程序页面获得的public_token是针对该演示应用程序的client_id和secret。它不会与您的client_id和秘密一起使用。

您需要使用client_id和secret在本地运行演示应用程序。看看这个 - https://github.com/plaid/quickstart/tree/master/node

按照自述文件在本地运行演示,但是使用client_id和secret,然后像上面那样检查页面。您这次获得的public_token将使用您的client_id和secret:)

相关问题