Closed (fixed)
Project:
LinkedIn Integration
Version:
7.x-1.x-dev
Component:
LinkedIn API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2012 at 14:31 UTC
Updated:
4 Jan 2017 at 13:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
peterx commentedSame error. From what I can see, the first call is to linkedin/login/%user and that returns the user details. Linkedin returns to linkedin/token/%user and that returns and empty row. I guess it is an access error.
Comment #2
peterx commentedTo make it work, I edited linkedin_token_access() and changed:
to:
This seemed like a security risk so I tried linkedin/token/1 and that failed. The jump to linkedin/token happens before the jump to LinkedIn. I tried a few more experiments. The "Login using LinkedIn" link, linkedin/login/0, appears to get the user id from a cookie and uses that without giving anyone a chance to log in as anyone else.
If you clear the cookies, you go back to the normal login. The normal login works without the code change mentioned above. The problem occurs on our site when the user id is picked up from the cookie.
Comment #3
greg.harveyCan this be reproduced? Feels like a bug report.
Comment #4
nayanalok commentedHi
May be profile image is not getting loaded from linkedin when user logs in for the first time.
Here is a patch which loads user's name, email address and profile picture from linkedIn.
Comment #5
nayanalok commented