Before Version 4.5, ASP.NET Web Pages used to provide functionality to authenticate users using third parties such as Google, Live, Facebook, Twitter, or similar third parties, through installable helpers. These helpers were categorized as Open Authentication (OAuth) helpers. However, with Version 4.5,
OAuth helpers have become part of the standard ASP.NET Web Pages library. In this recipe, we will see how to use
OAuth helpers to enable Google authentication in a website.
_AppStart.cshtml. Add the following code after the call to