angular2-social-login
angular2-social-login copied to clipboard
Linkedin not working properly
I've gotten facebook and google to work properly. Linkedin is buggy. Returning undefined email once, then not returning anything and the modal closes immediately on open.
It's returning an email of undefined. That is the issue. I had a linkedin window open under my window which was causing it to automatically close. The real issue is upon signing in, the linkedin api is not returning the email.
Not sure of what is going on here. Let me check the permission list.
I've gotten the issue to the point where email is not null but the api is pausing after logging in. The LinkedIn screen goes blank and the URL stays at processing.
Nothing is returned
Whats the callback url you specified in linkedin ?
Here is the url I get when sending the request https://www.linkedin.com/uas/oauth/authorize?oauth_token=86--6573e1d2-9952-48c4-95a2-b4cfbf7c19a2&state=
This is what is returned:
https://platform.linkedin.com/js/xdrpc.html?v=1.0.65#state=null&access_token={{token}}
token being a long stream of characters.
I had the same problem. What helped was changing permission in linkedin developer settings. I had to check "r_emailaddress" permission, then wait around 10 minutes. Then it started magically working.