Opened 18 years ago

Closed 14 years ago

Last modified 14 years ago

#3213 closed enhancement (wontfix)

Django should have OpenID implemented in django.contrib.auth

Reported by: dev@… Owned by: nobody
Component: Contrib apps Version:
Severity: minor Keywords: openId, auth
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

OpenID is cool, & it would be nice if Django could support it out of the box. There's a cookbook recipe available but this could be folded into django.contrib.auth to make it all much easier.

Change History (19)

comment:1 by anonymous, 18 years ago

+1 on this!

comment:2 by John D'Agostino <john.dagostino@…>, 18 years ago

I'm +1 on this too, the only issue i see is that python library is released under LGPL, which is incompatible with the BSD license which Django is released under. One solution i see to this is to do the same thing which is currently done with the database backends - ship the module (django.contrib.auth.openid) and require the developer to download the required library.

comment:3 by ikke@…, 18 years ago

I implemented a store for the Python OpenID library more Django-style (using some Django models, and a Store interface implementation around it) for my Django-based OpenID server. Currently this is GPL-licensed, I could relicense this though if you guys 'd want to use it.

The server is at http://svn.nicolast.be/djangoid/

comment:4 by Michael Radziej <mir@…>, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:5 by djangonaut#378, 18 years ago

If django 1.0 could have OpenID, it would do great wonders for django's popularity as a platform.

comment:6 by byteflood@…, 18 years ago

I am +1 as well. Looks like the same plan a that used for the database backends in the best plan for integration.

comment:7 by smurf@…, 18 years ago

+1 from me too.

If nothing else, I want all Django sites out there to be able to do OpenID so that I don't need to store or remember another heap of random passwords. ;-)
(And enabling the same on my own blog would be a nice benefit.)

in reply to:  description comment:8 by .jon, 18 years ago

+1

OpenID needs to gain momentum. I would love to have it in Django.

comment:9 by James Bennett, 18 years ago

Please remember that a solid implementation in code gets far more attention than "+1 from me too" comments in tickets ;)

comment:10 by Simon G. <dev@…>, 18 years ago

Simon Willison has an implementation here

comment:11 by Simon G. <dev@…>, 18 years ago

Resolution: fixed
Status: newclosed

comment:12 by Sung-Jin Hong <serialx.net@…>, 18 years ago

Resolution: fixed
Status: closedreopened

Why close the ticket? It's about whether to include openid support in django or not. Not about whether there is an implementation or not.

comment:13 by Simon G. <dev@…>, 18 years ago

I closed the ticket as Simon Willison's implementation works well and just plugs into Django easily. There's no need for Django to maintain this, since this looks like it'll be a fairly robust project on its own. In short: I'm happy with this. However, if you do want this moved into Django, then it's best to raise this issue in the developers group.

comment:14 by mcroydon, 17 years ago

Resolution: fixed
Status: reopenedclosed

Reclosing this. Use django-openid for OpenID functionality in Django. If you feel strongly that it should be folded in to a django.contrib app, please raise the issue on django-developers.

comment:15 by Chris Hager, 16 years ago

Replying to mcroydon:

Reclosing this. Use django-openid for OpenID functionality in Django. If you feel strongly that it should be folded in to a django.contrib app, please raise the issue on django-developers.

django-openid is probably not the best solution, since the project supports only python-openid-1.2, which prevents using 2.0 provider like yahoo, ... for me the best way to get openid 2.x running with django is django-authopenid. it has excellent django-examples which work out of the box.

i've tried most of the openid projects and it seems django-authopenid is the only way to get python-openid-2.x running. i summarized my progress here.

comment:16 by Jari Pennanen, 15 years ago

django-authopenid has lost it's maintainer, duh... this is what happens if it is not part of the contribs, there is no motivation to try to keep up with Django.

comment:17 by amanjsingh, 14 years ago

Resolution: fixed
Status: closedreopened

are we going to get this OpenID implementation in django.contrib.auth?

in reply to:  17 comment:18 by Luke Plant, 14 years ago

Resolution: wontfix
Status: reopenedclosed

Replying to amanjsingh:

are we going to get this OpenID implementation in django.contrib.auth?

As stated before, please stop re-opening. Bring this up as a solid proposal on django-developers. Also, look up the definition of django-contrib http://jacobian.org/writing/what-is-django-contrib/ - based on the comments above, there isn't one solid implementation or de-facto standard.

comment:19 by anonymous, 14 years ago

Cc: dev@… removed
Note: See TracTickets for help on using tickets.
Back to Top