How to do login to my asp.net app using Facebook (

2020-07-20 03:33发布

How do sites like SO allow you to authenticate yourself via Facebook, OpenID, Google, Blogger, Twitter, etc?

I'm writing an ASP.NET (C#) site, and I'd like to be able to accept logins like this, in addition to offering the regular plain vanilla username/password that any other site has.

Where do I start?

2条回答
女痞
2楼-- · 2020-07-20 04:19

I would suggest you look at http://www.dotnetopenauth.net/

I believe SO may actually use this library - they definitely donated to the project this year (see http://blog.stackoverflow.com/2010/12/stack-overflow-gives-back-2010/).

查看更多
唯我独甜
3楼-- · 2020-07-20 04:26

You might want to try DotNetOpenAuth

Here's a similar question on SO with some more links

查看更多
登录 后发表回答