{"action":"created","issue":{"url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/32","labels_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/32/comments","events_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/32/events","html_url":"https://github.com/nraboy/ng-cordova-oauth/issues/32","id":56709363,"number":32,"title":"Linkedin returns \"Problem authenticating\" even when it's returning the token ","user":{"login":"MarcSallent","id":784361,"avatar_url":"https://avatars.githubusercontent.com/u/784361?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcSallent","html_url":"https://github.com/MarcSallent","followers_url":"https://api.github.com/users/MarcSallent/followers","following_url":"https://api.github.com/users/MarcSallent/following{/other_user}","gists_url":"https://api.github.com/users/MarcSallent/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcSallent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcSallent/subscriptions","organizations_url":"https://api.github.com/users/MarcSallent/orgs","repos_url":"https://api.github.com/users/MarcSallent/repos","events_url":"https://api.github.com/users/MarcSallent/events{/privacy}","received_events_url":"https://api.github.com/users/MarcSallent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-02-05T18:29:25Z","updated_at":"2015-03-15T00:42:29Z","closed_at":"2015-02-20T17:28:51Z","body":"Hello,\r\n\r\nI am trying to authenticate my users via Linkedin but I always get \"Problem authenticating\". After digging for a long time, I activated my proxy and I see that in fact I am receiving the correct data and response code in the form of\r\n\r\n`{\"access_token\":\"xxxxx x x x xxxx x\",\"expires_in\":5183999}`\r\n\r\nand I can see the `200 OK` response code in the header. \r\n\r\nHowever, when I log the returned `data` in `.error(function(data, status){...` I get `null`. `.success(function(data) {...` is never called"},"comment":{"url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/comments/80779137","html_url":"https://github.com/nraboy/ng-cordova-oauth/issues/32#issuecomment-80779137","issue_url":"https://api.github.com/repos/nraboy/ng-cordova-oauth/issues/32","id":80779137,"user":{"login":"jordanvs","id":191284,"avatar_url":"https://avatars.githubusercontent.com/u/191284?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanvs","html_url":"https://github.com/jordanvs","followers_url":"https://api.github.com/users/jordanvs/followers","following_url":"https://api.github.com/users/jordanvs/following{/other_user}","gists_url":"https://api.github.com/users/jordanvs/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanvs/subscriptions","organizations_url":"https://api.github.com/users/jordanvs/orgs","repos_url":"https://api.github.com/users/jordanvs/repos","events_url":"https://api.github.com/users/jordanvs/events{/privacy}","received_events_url":"https://api.github.com/users/jordanvs/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T00:42:29Z","updated_at":"2015-03-15T00:42:29Z","body":"Hey @nraboy thanks for the suggestions. It works now that I have taken your advice. However, I'm still seeing the Not Found webpage (/callback) before it brings me back to my app. But this is a separate issue."}}