nraboy / ng-cordova-oauth

AngularJS oauth library for use with Apache Cordova projects
https://www.thepolyglotdeveloper.com
MIT License
456 stars 199 forks source link

$cordovaOauth.linkedin returning null data and status -1 in iOS #344

Open rushabhmakwana-multidots opened 5 years ago

rushabhmakwana-multidots commented 5 years ago

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.

prafull-agarwal commented 5 years ago

We are facing the same issue with ADFS login. Is any one can give me update on this?