CHAPTER 12

image

Mobile, Social, and Cloud Technologies

12-1. Using Facebook As Your MVC Web Site’s Identity Provider

Problem

You are planning to create an Internet-facing web application that requires your customers to register and log in to perform certain functions. Since the vast majority of your customers have a Facebook account, you would like to be able to let them use that account to log in to your site. You would also like to allow customers who do not have a Facebook account to create a local account on your web site. You need your web site’s local login and the Facebook login to work seamlessly.

Solution

The ASP.NET MVC 4 Internet Application ...

Get ASP.NET MVC 4 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.