views:

122

answers:

3

I want to make it dirt simple for users coming to my site to register so they can post comments, vote on things, etc. I would like for them to be able to use their facebook id, twitter id, yahoo mail id, gmail id, AIM id, msn id, or whatever else people are likely to have (not necessarily all of those, but the more the better). I want my mom to be able to do it in 30 seconds or less. (that is, no "enter your open id url here" type thing that would confuse her). I prefer they not have to pick a unique name, as that gets annoying as the site gets more users and it gets hard to find one that is unique.

What is the best option here? I'm not quite sure about OpenId vs. OAuth, and whether there are other options. And I'd like it to be as simple for me, the developer, as possible (of course!). I don't want to spend forever learning some protocol, nor have to structure my whole app around this. It would be great if there was a site with sample code that is pretty easy to drop in.

BTW, StackOverflow is a good example of a site that was easy for me to register for.

A: 

Just offer many possiblites, like facebook, digg, openid (with some providers offered, like google). Make it possible to enter more than one and connect it with one account on your page.

Femaref
I guess I was looking for more specifics. :) You basically restated the question. Maybe a link to a web site where it is explained how to do this...?
rob
+1  A: 

You want to integrate your web application with Rpx (https://rpxnow.com/). Your users will enjoy the benefits you described while your job as developer will be minimal. You can integrate with accounts from Google, Yahoo, myopenid, facebook, etc for much less time than trying to learn OAuth alone. For an example of how this works, you can check out http://www.tekpub.com/

Khnle
Hmmm, well, I much prefer a solution that does not involve a third party. That is an option, I suppose, but would prefer it be our own thing not relegated to someone else.
rob
+1  A: 

DotNetOpenAuth is the library StackOverflow uses, and it does OpenID and OAuth. It's free, open source and you host it all yourself (no 3rd-party required).

It's latest version doesn't yet include Facebook (OAuth 2.0) support but that will come in the next version (a few weeks away).

Andrew Arnott
Cool. Sure wish there was the equivalent in something less microsofty than dot-net! (I guess I could write my own but the site says it took 76 person-years to do it)
rob
Rob, are you asking for an OpenID and OAuth solution in a non-.NET language? What language do you want to write your web site in? Most have OpenID or OAuth libraries available (usually distinct libraries though).
Andrew Arnott