I'm assuming that you want to validate the user via google auth and
then allow the authenticated user into your application. Sometime
back, i did this for a desktop based application updating a
application hosted in appengine (after authentication). I wrote abt it
here:
http://www.jjude.com/2008/09/18/authenticating-in-gae/

At first I obtained the uid/pwd from the user and sent it via header
to authenticate. By one of the comments from the user, I realized that
it is not a safe manner. Later I let the google auth to validate the
user and then allow the access accordingly. The code is also shared in
google code. You can pick it up.

Hope this helps.

Joseph

On Mar 20, 7:09 am, NguyendHEX <i...@dohoangnguyen.com> wrote:
> You can use user class from google
>
> from google.appengine.api import users
> user = users.get_current_user()
> if user:
> #user.email()
> else:
> #redirect to login: users.create_login_url()
>
> Hope this help
>
> On Mar 20, 6:56 am, Tito Garrido <titogarr...@gmail.com> wrote:
>
> > Is there a way to use Google Authentication + web2py on GAE?
>
> > Regards,
>
> > Tito
>
> > --
> > Linux User #387870
> > .........____
> > .... _/_õ|__|
> > ..º[ .-.___.-._| . . . .
> > .__( o)__( o).:_______
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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