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本身不能正常工作? –