Hello,

I'm developing an application for internal use in my company (hosted 
locally).

I want to enable authentication using Gmail e.g. my colleagues use there 
exiting gmail id for authentication.

I have implemented this code provided in "SMTP and Gmail" found here 
http://web2py.com/books/default/chapter/29/09/access-control#Other-login-methods-and-login-forms
in my db.py

from gluon.contrib.login_methods.email_auth import *
auth.settings.login_methods.append(email_auth("smtp.gmail.com:587","@gmail.com"))


Nothing seem to happen.

Please help.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to