Cheers! Will do.

On 25 Mar 2010, at 18:19, mdipierro <mdipie...@cs.depaul.edu> wrote:

> It is possible linkedin.py uses some API that is not supported by GAE.
> I did not try. In any case make sure you have latest dev_appserver
> since httplib (used by linkedin) was not supported in early versions.
>
> On Mar 25, 1: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 to Linkedin's login
>> 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 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
> .
>

-- 
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