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/from contrib/
> 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