4 ms·
I like the social auth login features. Is there a good/clean way to integrate social auth with an existing django authentication db? E.g. providing generic vie
by notauser 17y ago
I like the social auth login features.
Is there a good/clean way to integrate social auth with an existing django authentication db? E.g. providing generic views to let current users link their accounts against their google/twitter ID, and letting new users sign up with whatever auth mechanism they prefer.
- ajcronk 17y agoI started with their socialauth app, and heavily modified it for http://bln.kr http://bln.kr. I wanted to allow a user to login with one service, then add additional services to the same account. http://uswaretech.com/blog/2009/08/django-socialauth-login-via-twitter-facebook-openid-yahoo-google/ http://uswaretech.com/blog/2009/08/django-socialauth-login-v...
- mikexstudios 17y agoYes, there are a number of solutions for django. The one used by the forum (and also by cnprog.com) is django-authopenid (http://bitbucket.org/benoitc/django-authopenid/wiki/Home http://bitbucket.org/benoitc/django-authopenid/wiki/Home) which integrates with existing django auth db. Users can choose sign up for an account on your django site or sign in with an openid. Some other solutions include: django-socialauth (http://uswaretech.com/blog/2009/08/django-socialauth-login-via-twitter-facebook-openid-yahoo-google/ http://uswaretech.com/blog/2009/08/django-socialauth-login-v...) and django-rpx (http://github.com/howthebodyworks/django-rpx http://github.com/howthebodyworks/django-rpx).
- jayliew 17y agoI used django-socialregistration and recommend it. It has generic support for any OAuth (Twitter is one), OpenID, and FacebookConnect. http://github.com/flashingpumpkin/django-socialregistration http://github.com/flashingpumpkin/django-socialregistration I've only used the Twitter-OAuth part of it and tweaked it a little to fit my own application, but by and large it works with no probs
- boundlessdreamz 17y agoDoes anyone know the equivalent in rails for socialauth ?