On Sep 1, 10:36 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > We currently provide out of the box authentication using google(when > running on GAE), gmail, twitter, ldap, basic auth.
I'm curious about how to implement authentication using Google, and specifically Google Apps for Domains. When I deploy web2py to appspot, authentication still happens using the internal Register/Login model. I can manually force a Google login: from google.appengine.api import users user = users.get_current_user() if user: nickname = user.nickname() else: redirect(users.create_login_url(URL(r=request, f='index'))) But that doesn't seem like "out of the box authentication." Is there a GAE example that uses a Google login for functions decorated by @auth.requires_login() ? Thanks, g. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---