The Python Oracle

What's the best solution for OpenID with Django?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3

--

Chapters
00:00 Question
02:10 Accepted answer (Score 87)
02:47 Answer 2 (Score 32)
03:45 Answer 3 (Score 12)
04:10 Answer 4 (Score 8)
04:35 Thank you

--

Full question
https://stackoverflow.com/questions/2123...

Question links:
[django-allauth]: https://github.com/pennersr/django-allau...
[python-social-auth]: https://github.com/omab/python-social-au...
[django-openid]: http://github.com/simonw/django-openid
[django-openid-auth]: https://launchpad.net/django-openid-auth
[django-openid-auth]: http://code.google.com/p/django-openid-a.../
[django-authopenid]: http://bitbucket.org/benoitc/django-auth...
[django-socialauth]: http://github.com/uswaretech/Django-Soci...
[django-socialregistration]: http://github.com/flashingpumpkin/django...
[django-openid-consumer]: http://code.google.com/p/django-openid-c.../
[django-social-auth]: http://github.com/omab/django-social-aut...
[django-openid]: http://github.com/simonw/django-openid
[django-authopenid]: http://bitbucket.org/benoitc/django-auth...
[django-registration]: http://bitbucket.org/ubernostrum/django-...
[django-socialauth]: http://github.com/uswaretech/Django-Soci...
[django-socialregistration]: http://github.com/flashingpumpkin/django...
[its share of problems]: http://www.elfsternberg.com/2009/11/24/d.../

Accepted answer links:
https://launchpad.net/django-openid-auth

Answer 2 links:
https://github.com/uswaretech/Django-Soc...
https://github.com/agiliq/Django-Sociala...
[omab/django-social-auth]: https://github.com/omab/django-social-au...
[the pypi package]: https://pypi.python.org/pypi/django-soci...

Answer 4 links:
[Elf Sternberg's fork]: http://github.com/elfsternberg/Django-So...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #django #openid

#avk47



ACCEPTED ANSWER

Score 87


The one that has proven to work best for me, and which seems most up-to-date is the one over at launchpad.

It integrated seamlessly with my application that already utilizes the django.auth module.

https://launchpad.net/django-openid-auth

To get a copy run:

bzr branch lp:django-openid-auth

Or install it via PyPI

pip install django-openid-auth



ANSWER 2

Score 12


I prefer django-authopenid, but I think most of the mature solutions are pretty equal at this point. Still, it is what I see used the most. I've made a handful of customizations to how we use it without having to actually fork it, and that's a huge plus in my book. In other words, its fairly hookable.




ANSWER 3

Score 8


Don't forget Elf Sternberg's fork of django-socialauth - he's working to clean up what he sees as a lot of bad implementation decisions in the original socialauth app. Looks clean so far but it's unclear whether his project will have momentum.




ANSWER 4

Score 5


django-socialauth is good for me