Larry Steinle

January 30, 2014

Authenticating Users To Your Site Using OAuth/OpenID Provider in ASP.NET MVC

Filed under: Uncategorized — Larry Steinle @ 9:26 pm

Peter Mbanugo

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

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: