ng-cordova-oauth
ng-cordova-oauth copied to clipboard
$cordovaOauth.linkedin returning null data and status -1 in iOS
I am using this plugin to sign in to my ionic app using LinkedIn. Below is my code
$cordovaOauth.linkedin("XXXX", "XXXX", ["r_basicprofile", "r_emailaddress"], "XXXX").then(function(result) {
console.log(JSON.stringify(result));
}, function(error) {
console.log(JSON.stringify(error));
});
Above code is working fine for Android platform but it returns me null data and status -1 for "https://www.linkedin.com/uas/oauth2/accessToken" this request on iOS platform.
Please help ASAP.
We are facing the same issue with ADFS login. Is any one can give me update on this?