LinkedIn integration working, but not logging in on web2py side?

11 views
Skip to first unread message

Alec Taylor

unread,
Aug 15, 2012, 11:32:44 PM8/15/12
to web...@googlegroups.com
After modifying the `LinkedInAccount.py` from contrib\login_methods with PEP8 function names and switching from the Google Code python-linkedin library to its updated fork on Github, on login I was presented with `https://www.linkedin.com/uas/oauth/authorize?oauth_token=<my token here>`, whereas previously <my token here> was `True`.

Clicking "Allow access" redirected me to wherever I had in _next (as specified in my db.py), but it still said "login" in the top right, rather than "Logged in as...".

Redirecting it to /user/verify presented me with a "404 NOT FOUND" error. 

URL shows: localhost/user/verify?oauth_token=<my_token_here>&oauth_verifier=<my_verifier_here> 

How do I get LinkedIn integration to work properly?

Thanks for all suggestions,

Alec Taylor
Reply all
Reply to author
Forward
0 new messages