Do you want to allow users to login to your site via an OAuth or OpenID provider such as facebook, twitter or google? I’ll show you how to do this easily using SimpleAuthentication.
SimpleAuthentication is an ASP.NET library that makes it really simple for developers to add Social Authentication code to an ASP.NET application. The library only deals with authentication , once you get the user details for the person logging in, you can do whatever you want with that (such as, create a new user or update an existing user). You can take advantage of the Glimpse plugin so you can see what magic is happening under the hood if you need to debug. You can install it via Nuget, and it supports MVC3, MVC 4 or NancyFx project types.
Follow the steps below to add it to your MVC 4 application:
1. Install the Nuget Package for MVC 4.
View original post 231 more words