From the course: ASP.NET MVC 5 Identity: Authentication and Authorization

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

GitHub authentication

GitHub authentication

From the course: ASP.NET MVC 5 Identity: Authentication and Authorization

Start my 1-month free trial

GitHub authentication

- [Narrator] ASP.Net MVC 5 application supports some of the major social login providers like Microsoft, Google, and Facebook. But GitHub is not supported. Thanks to the power of NuGet packages we can add support to additional packages by installing this library, Owin dot security dot providers. For that go to your Visual Studio, then Tools, NuGet Package Manager, Package Manager Console. In here type install dash package Owin.security.providers. Press Enter and wait for the package to be installed. This package is a third party library that includes a ton of additional providers you can integrate with. And that's what we are going to use to support GitHub logins. After you have installed the package let us make sure we have the right set up to actually use it. So the next step would be to configure Owin Pipeline to handle the GitHub login. Go to your Solution Explorer. Inside the App_Start folder click the Startup.Auth.cs. Scroll down and just before the…

Contents