This page http://code.google.com/p/python-linkedin/ claims "can use
http://localhost as your RETURN URL" under the Usage section.

And I could certainly get some calls working on 127.0.0.1 (just not
the RETURN_URL and so couldn't convince Web2py that the user had
logged in and I was simply redirected again back to Linkedin's login
page)

But when running on dev_appserver I can't even get requestToken() to
work.

I don't follow your http://web2py.com/linkedin example. Clicking the
login link doesn't take me to Linkedin.




On Mar 25, 6:00 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I do not think it works from localhost. It must run from a public url.
> I have it running here:http://web2py.com/linkedin
>
> On Mar 25, 12:42 pm, Carl <carl.ro...@gmail.com> wrote:
>
>
>
> > hi all,
>
> > I'm usinghttp://code.google.com/p/python-linkedin/fromcontrib/
> > login_methods/linkedin_account.py
>
> > In db.py I've added:
> > KEY = 'my key'
> > SECRET = 'associated secret'
> > RETURN_URL =http://localhost:8080/a/c/f
> > auth.settings.login_form=LinkedInAccount(request, KEY, SECRET,
> > RETURN_URL)
>
> > In linkedin_account.py LinkedInAccount.__init__(), the called to
> > self.api.requestToken() is failing with 'invalid_signature'.
>
> > The same code, when run locally with web2py.py (with RETURN_URL set to
> > 127.0.0.1:8000/a/c/f) successfully calls self.api.requestToken()... it
> > only fails when Linkedin tries to redirect to 127.0.0.1:8000
>
> > Has anyone got LinkedIn OAuth working
> > a) on web2py.py?
> > b) on dev_appserver?
> > c) live on GAE?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to