简体   繁体   English

如何使用Facebook(或其他ID)登录我的asp.net应用程序?

[英]How to do login to my asp.net app using Facebook (or other ID)?

How do sites like SO allow you to authenticate yourself via Facebook, OpenID, Google, Blogger, Twitter, etc? 像SO这样的网站如何让您通过Facebook,OpenID,Google,Blogger,Twitter等进行身份验证?

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. 我正在编写一个ASP.NET(C#)站点,除了提供任何其他站点提供的常规普通用户名/密码之外,我还希望能够接受这样的登录。

Where do I start? 我从哪里开始?

You might want to try DotNetOpenAuth 您可能想尝试DotNetOpenAuth

Here's a similar question on SO with some more links 这是一个关于SO的类似问题,还有一些链接

I would suggest you look at http://www.dotnetopenauth.net/ 我建议你看看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/ ). 我相信SO实际上可能会使用这个库 - 他们今年肯定捐赠给了这个项目(参见http://blog.stackoverflow.com/2010/12/stack-overflow-gives-back-2010/ )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用asp.net通过facebook登录 - login via facebook using asp.net 使用ASP.net登录到其他网站 - Login to the other Website using ASP.net 如何从Facebook OAuth登录名将用户的电子邮件返回到我的asp.net网络表单应用程序? - How can I get the user's email returned to my asp.net web forms app from Facebook OAuth login? 如何使用ASP.NET Web API 2后端和Facebook登录名测试和调试Xamarin移动应用程序 - How to test and debug a Xamarin mobile app with a ASP.NET Web API 2 back-end and Facebook Login Facebook在ASP.net mvc 3中使用MembershipProvider和RoleProvider登录 - Facebook Login using MembershipProvider and RoleProvider in ASP.net mvc 3 Asp.net 5 MVC6 - 使用owin登录facebook - Asp.net 5 MVC6 - Using owin for facebook login 如何在asp.net 4.5中使用Facebook帐户开发登录名 - how to develop login with facebook account in asp.net 4.5 如何使用ASP.Net检查Facebook用户是否喜欢我的Facebook页面 - How to check whether a facebook user liked my facebook page or not using ASP.Net 如何将谷歌、脸书等账号的社交登录插入到你现有的经典asp.net制作的认证系统中? - How to plug-in social login with Google, Facebook and other accounts into your existing authentication system made by classic asp.net? Asp.Net身份:用facebook登录 - Asp.Net Identity: Login with facebook
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM