An update (getting closer, but still problems): It seems there are a couple more errors in linkedin_account.py:
There is an extraneous command which must have been left over from sample code: profile = self.api.GetProfile(profile).public_url = "http://www.linkedin.com/in/ozgurv" This line overwrites the reading of the current user's profile, and should be removed. Also, the call return self.api.getAuthorizeURL(self.token) should be return self.api.getAuthorizeURL() according to the python-linkedin module README instructions. With those fixes, I now no longer get the error "We were unable to find the authorization token". However, now I am stuck in an infinite loop: I am always stuck on the linkedin "Grant access" page, and pressing the "continue" button keeps returning to the same page. I realize that given the existing bugs in the code, it is unlikely that anyone has actually used it, but does anyone have a clue as to why after granting access on linkedin I am not logged in and back to the app? It seems web2py does not respond properly to the access grant. If anyone can help, it will be greatly appreciated!!! Trying to debug Auth() is going to be quite slow and painful to a web2py newbie like me!!! Thanks!!! Luis.

