0

“未能获取用户配置文件”错误。

我将代码粘贴到我的应用程序中并收到上述错误。我对passportjs有点熟悉,因为我过去成功使用过它,但无法调试这个问题。我被重定向到 Dwolla 进行身份验证并返回到提示错误的回调方法。

链接到我复制并粘贴的 Dwolla 提供的示例代码。 https://github.com/jaredhanson/passport-dwolla/blob/master/examples/login/app.js

4

1 回答 1

1

我不得不更改user此策略的端点。原始用途:

https://www.dwolla.com/oauth/rest/accountapi/accountinformation

我将其更改为:

https://www.dwolla.com/oauth/rest/users/

更新的策略在这里:

https://github.com/auth0/passport-dwolla

于 2014-04-14T01:14:31.887 回答