I'm testing the usability of Oauth.io. Wokking with for example twitter goes well, but I can't get Linkedin Oauth2 to work. Get an 'internal error'. If I debug I find "Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'done')". I guess the problem is in the code:
OAuth.initialize("jYfu7aahkO52Qc4lGA6jGVfeim0");
//Example with Google
OAuth.redirect("Linkedin (OAuth2)", "https://atforce.nl");
//in your callback page (can be the same page)
OAuth.callback("Linkedin (OAuth2)")
.done(function (LinkedinOAuth2) {
//make API calls with `google`
})
.fail(function (err) {
console.log("Something went wrong!!!");
//todo when the OAuth flow failed
});
Someone to help me out?
René
Tried to replace the 'function(LinkedinOAuth2)' with different parms.