【发布时间】:2015-07-30 17:57:02
【问题描述】:
Linkedin 或 oauth.io 最近似乎发生了一些变化。
以前可以正常连接,现在报403错误。
还在 oauth.io 网站上使用我的应用设置进行了检查,当尝试使用“尝试 Oauth”按钮进行连接时,它给出了相同的错误:
Connection failed with linkedin
We received an error while we were trying to authorize you. It can come from your API Keys or your provider app settings.
This error was returned by the server:
Error during the 'request_token' step (HTTP status code: 403)
Linkedin App 界面似乎发生了变化:
- 重新进入白名单
- 重新输入了 oauth 2.0 链接
- 重新输入了我的信息等,看起来设置正确
- 这种设置直到最近才有效
这是代码:
OAuth.initialize('xxxxx');
OAuth.popup('linkedin')
.done(function(result) {
console.log("Connecting to Linkedin");
result.me()
.done(function (response) {
//
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
有什么想法吗?
【问题讨论】:
-
使用phonegap+javascript api,但问题似乎也在oauth.io控制台
标签: linkedin linkedin-jsapi oauth.io