[web2py] Re: How to implement Gmail Authentication

2015-07-14 Thread Do-Yang Kim
Thank you. I got the code to compile by running web2py from source but the suggested code above did not exactly work. I found a working solution from stackoverflow. http://stackoverflow.com/questions/30072099/the-correct-way-to-implement-login-with-google-account On Sunday, July 12, 2015 at 4:15

Re: [web2py] Re: How to implement Gmail Authentication

2015-07-13 Thread Michele Comitini
The code for Google OAuth2 does not need to import oauth2. If you use OAuth2 there is no need to use any external library for oauth. While OAuth1.1 need the oauth2 python external python module (pip install oauth2 as Massimo says). I know it is ridiculous but the confusion arises from the python o

[web2py] Re: How to implement Gmail Authentication

2015-07-12 Thread Massimo Di Pierro
You have to run web2py from source and run pip install oath2 On Saturday, 11 July 2015 08:24:03 UTC-5, Do-Yang Kim wrote: > > Hi. I'm a newbie trying web2py. I get this error when I try above code > > > *Cannot import module 'applications.admin.modules.oauth2'* > > I'm assuming that I don't have

[web2py] Re: How to implement Gmail Authentication

2015-07-11 Thread Do-Yang Kim
Hi. I'm a newbie trying web2py. I get this error when I try above code *Cannot import module 'applications.admin.modules.oauth2'* I'm assuming that I don't have oauth2 library set up in the module section. How can I fix this? On Thursday, April 9, 2015 at 7:30:46 AM UTC-5, piero crisci wrote

[web2py] Re: How to implement Gmail Authentication

2015-04-09 Thread Moiz Nagpurwala
Thanks a lot. I will surely give it a try. -- 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 Go

[web2py] Re: How to implement Gmail Authentication

2015-04-09 Thread piero crisci
First of all you need to get the *google_auth.json file to use OAuth* To get that you need to register your Google account as a webdeveloper You can find how get the information on Google :) Then u can change ur auth table in this way In the model.py from gluon.tools import Auth, Crud, Servi

[web2py] Re: How to implement Gmail Authentication

2015-04-08 Thread Willoughby
Web2PySlices has two examples of OAuth2 being used - have you looked at those? http://www.web2pyslices.com/slice/search?q=OAuth2 On Tuesday, April 7, 2015 at 10:01:22 AM UTC-4, Moiz Nagpurwala wrote: > > Hello, > > Still waiting for a working example of OAuth2 with Google. > > It is very crucia

[web2py] Re: How to implement Gmail Authentication

2015-04-07 Thread Moiz Nagpurwala
Hello, Still waiting for a working example of OAuth2 with Google. It is very crucial for my application to integrate Google authentication in order to succeed. Hope this great community won't let me down. Thanks and regards. -- Resources: - http://web2py.com - http://web2py.com/book (Documen

Re: [web2py] Re: How to implement Gmail Authentication

2015-03-18 Thread Moiz Nagpurwala
Any working example of OAuth2 with Google please. The documentation only describes Facebook integration. Thanks. -- 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 Issu

Re: [web2py] Re: How to implement Gmail Authentication

2015-03-18 Thread Michele Comitini
Why not use OAuth2 with google? It should work with the gmail account 2015-03-18 18:33 GMT+01:00 Moiz Nagpurwala : > I'm clueless here. I thought that this code would allow any user with > valid gmail I'd to login in my app. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (D

[web2py] Re: How to implement Gmail Authentication

2015-03-18 Thread Moiz Nagpurwala
I'm clueless here. I thought that this code would allow any user with valid gmail I'd to login in my app. -- 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) ---

[web2py] Re: How to implement Gmail Authentication

2015-03-18 Thread Leonel Câmara
You need to allow "insecure" applications to connect to your gmail account for that to work. I would not use email_auth for that reason alone. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/w