hi, i want to implement 2 kind of login on my app.
1) basic auth
2) facebook connect
i extended auth_user

auth.settings.extra_fields['auth_user']= [
  Field('ballance', type='double', default=0, writable=False, 
readable=False),
  Field('image', type='string'),
  Field('phone', type='integer'),
  Field('birthday', type='date')]


auth.define_tables(username=True, signature=False)

i want when user connect with facebook to insert in auth_user new record 
with facebook data (firstname, lastname, birthday, profile picture .....) 
do you have a working example?
what is the best practice?

-- 

--- 
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