Thanks howesc.

Finally I was able to fix the issue, as the welcome app was working.

The problem was that login silently fails when the following code is
present:

test_db = DAL('gae://test')

I don't know why it fails.

On Nov 26, 9:26 am, howesc <how...@umich.edu> wrote:
> if you want to use google authentication with web2py auth:
>
>     from gluon.contrib.login_methods.gae_google_account import
> GaeGoogleAccount
>     auth.settings.login_form=GaeGoogleAccount()
>     form = auth.login(next=URL(r=request, c='default', f='index'))
>     return dict(login_form=form)
>
> i *think* that is all you need to make the magic happen.  it's been a while
> since i have implemented it and may have forgotten a detail or two.

Reply via email to