I started with Michele Comitini pointing me towards his example of
oauth with twitter (it also has facebook)

http://code.google.com/r/michelecomitini-facebookaccess/source/browse/%23hg/applications/helloTwitter&usg=AFQjCNGD_upo3rTb6VeNIEAo9EP5HA1mqg

The Twitter oauth worked fine locally but on Win 7 on dev_appserver I
needed to move the directory oauth2 from web2py/site-packages to
web2py/gluon/contrib otherwise dev_appserver couldn't find the oauth2
import

I created a basic Web2py applications to authenticate using LinkedIn.
Locally on web2py all looks fine but locally on dev_appserver I hit a
problem when LinkedIn returns once it has authenticated.

On the return from LinkedIn I get
XML Parsing Error: junk after document element
Location:
http://localhost:8080/linkedin/default/user/login?_next=%2Flinkedin%2Fdefault%2Fuser_profile&oauth_token=########-####-####-####-############&oauth_verifier=######
Line Number 11, Column 1:Status: 303 SEE OTHER

So... 303 is telling me I need to request another URL to find out the
error. Does anyone know how I do that? Or, if indeed I need to.

Reply via email to