[英]Node.js "passport-google-oauth2" delivers "failed to fetch user profile" error in Express application
[英]Node.js Dwolla passportjs error “failed to fetch user profile”
“無法獲取用戶個人資料”錯誤。
我將代碼粘貼到應用程序中,並收到上述錯誤。 我在過去很成功地使用了passportjs,但無法調試此問題。 我被重定向到Dwolla進行身份驗證,並返回到提示錯誤的回調方法。
鏈接到我復制和粘貼的Dwolla提供的示例代碼。 https://github.com/jaredhanson/passport-dwolla/blob/master/examples/login/app.js
我必須為此策略更改user
端點。 原始用途:
https://www.dwolla.com/oauth/rest/accountapi/accountinformation
我將其更改為:
https://www.dwolla.com/oauth/rest/users/
更新的策略在這里:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.