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

Authentication with linkedIn returns 'Problem authenticating'. Works with Google/Facebook/others #261

Closed MuhammadIrtazaSafi closed 8 years ago

MuhammadIrtazaSafi commented 8 years ago

Hi,

I am having a lot of trouble with this error. I have viewed this issue stated before and have asked what you've done (i.e updating ionic, disabling live-reload and running from xCode). Here are the logs from xCode:

The LinkedIN screen opens, I enter my username and password and then get the 'Problem authenticating error' ...

2016-06-26 18:21:40.159 reach[25598:402455] Simulator user has requested new graphics quality: 100 2016-06-26 18:21:40.163 reach[25598:402455] THREAD WARNING: ['InAppBrowser'] took '17.916992' ms. Plugin should use a background thread. 2016-06-26 18:22:03.349 reach[25598:402455] webView:didFailLoadWithError - -1004: Could not connect to the server. 2016-06-26 18:22:06.310 reach[25598:402455] Problem authenticating 2016-06-26 18:23:18.341 reach[25598:402455] Resetting plugins due to page load. 2016-06-26 18:23:18.622 reach[25598:402455] Finished load of: http://192.168.10.2:8100/#/askedLinkedIn

The issue could be with my configuration at LinkedIn's end.. I have set the redirect url to http://localhost/callback, and have set the Javascript SDK origin to http://192.168.10.2:8100

Please help me with this problem.

nraboy commented 8 years ago

https://github.com/nraboy/ng-cordova-oauth#support