Looks like Linkedin or oauth.io changed something recently.
Used to connect fine, and now it's giving an 403 error.
Checked also on the oauth.io site with my app settings, and it gives the same error when trying to connect using the "Try Oauth" button:
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)
The Linkedin App interface seem to have changed:
- reentered whitelists
- reentered oauth 2.0 link
- reentered my info, etc. looks like it is setup correct
- this setup used to work until recently
This is the code:
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);
});
Any ideas?