Re: [web2py] Social Login

2014-05-16 Thread Michele Comitini
Twitter is on OAuth 1.0a so you must use gluon.contrib.login_methods. oauth10a_account https://dev.twitter.com/docs/auth/oauth If you get too many redirection check what you get as token. install the ipdb module on your machine: $ pip install ipdb then add the following at the beginning of the ge

Re: [web2py] Social Login

2014-05-16 Thread Frank Buibish
I just downloaded web2py like a month and a half ago. How do I check if I have the latest version? but I'm pretty sure it's a oauth issue. So I was able to use firefox to trace the networks calls and the response was empty, however I went to the logs directory and it's empty. I am on a Mac is

Re: [web2py] Social Login

2014-05-15 Thread Michele Comitini
First check that you are on latest stable version of web2py. Google has changed suddenly a fundamental HTTP header this is now correctly managed inside web2py. Check that you have web2py's session object working properly. If you are still having issues, just press F12 (either chrome or ffox will

Re: [web2py] Social Login

2014-05-15 Thread Frank Buibish
I'm having the same issue with no luck, and I am new to python development. What exactly should I be looking for in the network request trace? or how do i check my OAuth configuration? On Friday, December 6, 2013 12:49:24 PM UTC-5, Michele Comitini wrote: > > That error is usually caused by mis

[web2py] Social Login - Twitter logs out plus some other issues- web2py 2.8.2 / Mac OS X 10.9.1

2013-12-22 Thread Luciano Laporta Podazza
Hello, I'm trying to implement Social Login following this example exactly as it shows here: https://groups.google.com/forum/#!topic/web2py/S9ukjWz6qMA Facebook works well, but I'm having some issues: 1. Twitter login works fine, but when it returns from twitter's login page to my web2py app(

Re: [web2py] Social Login

2013-12-06 Thread Michele Comitini
That error is usually caused by misconfigured OAuth, but there are different possible causes, the best way to find out is to trace all network requests using firefox firebug or chromium developer tools. 2013/12/6 Cássio Botaro > I made chages but doesn't work. > > Look the error: > > https://d

Re: [web2py] Social Login

2013-12-06 Thread Cássio Botaro
I made chages but doesn't work. Look the error: https://drive.google.com/file/d/0B8vO2VBhd7XVeF9WOW9aRlZ4Y28/edit?usp=sharing -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

Re: [web2py] Social Login

2013-12-06 Thread Michele Comitini
Double check token, secret, and id. Important you must put the exact URI of your app in the developers panel on twitter. I have made a screenshot: http://goo.gl/Bg7HOQ HTH 2013/12/6 Cássio Botaro > I've got the same error. Maybe it's because of callback url in >> application. In a local app

Re: [web2py] Social Login

2013-12-06 Thread Cássio Botaro
> > I've got the same error. Maybe it's because of callback url in > application. In a local application what i put in there? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/li

Re: [web2py] Social Login

2013-12-05 Thread Michele Comitini
I have this old code that should work in db.py: auth_table = db.define_table( auth.settings.table_user_name, Field('first_name', length=128, default=""), Field('last_name', length=128, default=""), Field('username', length=128, default="", unique=True), Field('password', 'passw

Re: [web2py] Social Login

2013-12-05 Thread Michele Comitini
You also need this: https://pypi.python.org/pypi/oauth2 2013/12/5 Michele Comitini > I have this old code that should work in db.py: > > auth_table = db.define_table( > auth.settings.table_user_name, > Field('first_name', length=128, default=""), > Field('last_name', length=128, d

[web2py] Social Login

2013-12-04 Thread Cássio Botaro
What's the way to do login with twitter without using janrain? I've tried this solution but only works with facebook. https://github.com/r4bugento/web2social After authorization, I've been redirected to http://127.0.0.1:8000/web2social/default/user/login and show me this message: "This webpag