#3604 (How to use Google, Facebook etc for Amici)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 6 years, 6 months ago by Luc Saffre about #3604 (How to use Google, Facebook etc for Amici) : There is no social_auth plugin in Lino, just the [url www.lino-framework.org/api/lino.core.site.html#lino.core.site.Site.social_auth_backends Site.social_auth_backends] setting which causes PSA to be added to the INSTALLED_APPS.
- 6 years, 6 months ago by tonis about #3604 (How to use Google, Facebook etc for Amici) : Had a quick look at the google and FB api. Seems that inorder to get FB friend data you need your app to be 'reviewed'. I have a feeling they will refuse us... Google seems to be more open to sharing that data .
Also where is the social auth plugin code for Lino Modlib/socialAuth is empty - 6 years, 6 months ago by tonis about #3604 (How to use Google, Facebook etc for Amici) : Reason being that Noi no longer has a UserType User. I don't want to change the create_user method so added: UserTypes.user = UserTypes.customer to noi's user_types.py. Seemed to have fixed that part.
- 6 years, 6 months ago by Luc Saffre about #3604 (How to use Google, Facebook etc for Amici) : A first thing will be to fix a bug that causes "AttributeError: type object 'UserTypes' has no attribute 'user'"
- 6 years, 6 months ago by Luc Saffre about #3604 (How to use Google, Facebook etc for Amici) : Start here: [url www.lino-framework.org/dev/socialauth/index.html]