priestc
priestc

Reputation: 35150

OpenID in django without local site accounts

I'm working on a django site, which I want the authentication part to work exactly like how Stack Overflow works. A new user comes to the site, they click on "create new account", choose their OpenID provider, get validated, then an account is created for them with "openiduser4356" or something as the username. The user can then go into preferences and change the username to whatever they want. I don't want any kind of local account sign-ups at all.

I pretty much spent all day getting django-authopenid working and it seems the only way this plugin works is by adding OpenID identities to already existing accounts. Heck, you can't even run your site when you have django-authopenid installed unless you have django-registration installed as well...

Before I spend another day wrestling with this thing to try getting it to do what I want, I'd rather just know off the bat if this kind of thing is even possible/a good idea. I noticed that there are a few other OpenID plugins for django out there. Are any of them any better at doing what I'm trying to do?

Upvotes: 2

Views: 614

Answers (3)

Will
Will

Reputation: 2468

You might also take a look at a fork of django-openid, django-openid-consumer. It works with the most recent python-openid libraries.

Upvotes: 1

zgoda
zgoda

Reputation: 12895

django-openid does not depend on django-registration.

Upvotes: 1

ltd
ltd

Reputation: 194

If you don't mind using rpxnow.com, check out http://github.com/howthebodyworks/django-rpx/tree/master

Upvotes: 0

Related Questions