These are chat archives for django/django

10th
Nov 2015
Leonardo
@leonardowilson
Nov 10 2015 15:07
how to authenticate my web app using facebook authentication ?
Mir Nazim
@mnazim
Nov 10 2015 15:08
@leonardowilson use django-allauth or python-social-auth
Leonardo
@leonardowilson
Nov 10 2015 15:08
i am using flask framework
Mir Nazim
@mnazim
Nov 10 2015 15:08
python-social-auth sould work with Flask also
Mauro Oviedo
@moviedo
Nov 10 2015 15:08
python-social-auth is framework independent
what @mnazim said
@leonardowilson ^
Leonardo
@leonardowilson
Nov 10 2015 15:10
@mnazim Can it used
@mnazim i have made a rest api using flask , how will i handle the callback() from facebook?
Mir Nazim
@mnazim
Nov 10 2015 15:14
You shouldn’t need to handle it manually, if your model setup is what python-social-auth expects. If you need a different setup, just add a custom funtion in SOCIAL_PIPELINE settings and take it from there. Docs are pretty good, you should get a pretty good idea from them.
http://peterhudec.github.io/authomatic is another framework agnostic library for social login. I haven’t used it though.
Leonardo
@leonardowilson
Nov 10 2015 15:16
@mnazim thanks a lot . I will try to understand it .
@moviedo thanks a lot .
Mir Nazim
@mnazim
Nov 10 2015 15:17
:thumbsup: