You can use oauth1.0a or oauth2 authentication that comes with web2py; see
in gluon/contrib/login_methods and the web2py book.

mic


2013/4/30 Giuseppe Marchetti <singforbittere...@gmail.com>

> hi all.. i m new on web2py. i try to get some values from twitter to my
> database.. the problem is "i got all values like twitter id, profil pic,
> background pic url, friends, fallowers etc. but i cant login"
> how can i rise the flag (if there s) auth_user.id_logged_in ?
> i mean how can i do that? :
> if db.auth_user.id(id) == twitter_id:
>     print "logged in"
>     (rise login flag)
> else:
>     redirect('register')
>
> --
>
> ---
> 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/groups/opt_out.
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to