开发者

how to make it easy for users to register at my site?

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.


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).


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/


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜