Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

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?

like image 480
Shaul Behr Avatar asked Dec 07 '25 20:12

Shaul Behr


2 Answers

You might want to try DotNetOpenAuth

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

like image 89
Geoff Appleford Avatar answered Dec 10 '25 10:12

Geoff Appleford


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 https://blog.stackoverflow.com/2010/12/stack-overflow-gives-back-2010/).

like image 35
Grhm Avatar answered Dec 10 '25 10:12

Grhm