简体   繁体   中英

Which solution is better for Django social authentication?

django-socialregistration or django-SocialAuth?

For my new project, I'm thinking of having signups only through Facebook (and possibly Twitter). Don't care about OpenID, hence this question doesn't answer my concern: What's the best solution for OpenID with Django?

Both these apps seem appropriate, but what's the experience been like with anyone who has used these? Which one has more activity behind it?

I picked django-socialregistration on a whim and got some help from flashingpumpkin in #django about the latest version (there's a recent version on github now).

I installed it yesterday in our django app and got integration with Twitter working without too much trouble. I couldn't try out Facebook because developer.facebook.com was having hiccups and couldn't give me my keys.

So far it looks good and simple enough but I'm not sure yet if it'll have the features beyond social registration that we're looking for, but judging from the code that may not be too hard to add.

Just to contribute, I've found django-allauth to be a great tool for handling normal and social registration and authentication. It supports almost avery oAuth provider. Here is a slide that supports it, explains pros and cons and compare it with others, and here is a review of 4 social auth django plugins (including django-allauth). Hope it helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM