Re: [web2py] Problems with GAE auth :(

2010-08-14 Thread Fabio Alessandro Locati
Thanks Bruno for the solution :) 2010/8/11, Bruno Rocha : > PLUS: If you need an example on how to auth with gmail account, > look at pyforum source code: http://pyforum.org/ > > > > 2010/8/10 Fale > >> Hi, >> I'm a new web2py user :) >> I'm trying to use google's auth for my app, but it does no

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
PLUS: If you need an example on how to auth with gmail account, look at pyforum source code: http://pyforum.org/ 2010/8/10 Fale > Hi, > I'm a new web2py user :) > I'm trying to use google's auth for my app, but it does not work on > web2py, while it works perfectly on appspot.com and on the o

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
The first place where I always search for help is *THE ORACLE* : http://www.google.com/codesearch/p?hl=en#uyCl3L51_dI/gluon/contrib/login_methods/gae_google_account.py&q=GaeGoogleAccount%20package:http://web2py%5C.googlecode%5C.com class GaeGoogleAccount(CasAuth):"""Login will be done via

Re: [web2py] Problems with GAE auth :(

2010-08-10 Thread Bruno Rocha
You cannot import "appengine.api" if you're out of GAE environment.. 2010/8/10 Fale > Hi, > I'm a new web2py user :) > I'm trying to use google's auth for my app, but it does not work on > web2py, while it works perfectly on appspot.com and on the offline gae > engine :| > > My code: > from gl

[web2py] Problems with GAE auth :(

2010-08-10 Thread Fale
Hi, I'm a new web2py user :) I'm trying to use google's auth for my app, but it does not work on web2py, while it works perfectly on appspot.com and on the offline gae engine :| My code: from gluon.tools import Mail, Auth, Recaptcha auth = Auth(globals(), db) from gluon.contrib.login_methods.gae_g