2
我想設置node.js應用程序以使用OAuth2.0使用Elance API我使用passport.js來連接到elance API等遠遠能夠正確地獲得代碼。在使用api方法之前,沒有獲取訪問令牌。認證和回調代碼使用後沒有獲得訪問令牌elance-api
也嘗試過建設策略,但不會獲得訪問令牌通過用戶配置文件連接
我也試過同樣從PHP,但它也得到越來越回調代碼
這之後吸是我通過策略獲得的錯誤:
failed to fetch user profile
(status: 401 data: {"errors": [{"code":"missing_token","description": "Access token is required for this service"}]})
該項目:https://github.com/SumitBisht/passport-elance 是否有可能API本身不能正常工作? –