python - django social auth in existing project -
python - django social auth in existing project -
i want add together login social auth in project. i.e. want utilize django social auth.
i followed next document document 1, document 3 , "step-by-step guide social logins django social auth" document.
but after next every document, getting next errors....
1. error when login facebook , google_oauth2
exception type: attributeerror exception value: can't set attribute
and
2. error when login twitter.
exception type: integrityerror exception value: key (email)=() exists.
please help me solving errors or tell me how follow these document or tell me other document utilize django social auth in project.
i new in django..
haven't got much experience working socialauth, seems here trying create new user same email user object exists.
i used "allauth", seems have much wider utility set, easy integrate , back upwards same still provided. integrate , utilize same using next links:
https://github.com/pennersr/django-allauth http://www.sarahhagstrom.com/2013/09/the-missing-django-allauth-tutorial/hope helps!
python django django-socialauth
Comments
Post a Comment