hi M

Could I get a copy of your example code behind:
http://web2py.com/linkedin

p.s. when I click login on your example I am not taken to a linked
authentication page. Should I expect that?

On Mar 25, 6:12 pm, Carl <carl.ro...@gmail.com> wrote:
> This pagehttp://code.google.com/p/python-linkedin/claims "can 
> usehttp://localhostas 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 toLinkedin'slogin
> page)
>
> But when running on dev_appserver I can't even get requestToken() to
> work.
>
> I don't follow yourhttp://web2py.com/linkedinexample. Clicking the
> login link doesn't take me toLinkedin.
>
> 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 whenLinkedintries to redirect to 127.0.0.1:8000
>
> > > Has anyone gotLinkedInOAuth 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