Implement GitHub authentication to give users that already have a GitHub account a simple, fast, and secure way to log in to your site, and to save them from having to remember another username/password combination.
- [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 UseMicrosoftAccountAuthentication…we are going to add our GitHub support.…
Author
Released
8/28/2018- Identity management
- Authentication vs. authorization
- Authentication via Facebook, Google, Microsoft, and more
- Email confirmation
- Two-step authentication
- Simple, role-based, and view-based authorization
- Defending against vulnerabilities
Skill Level Intermediate
Duration
Views
Related Courses
-
ASP.NET MVC: HTTP Request Life Cycle
with Janan Siam2h 15m Intermediate -
C# Design Patterns: Part 1
with Reynald Adolphe1h 22m Intermediate
-
Introduction
-
1. Identity Management
-
Membership in ASP.NET1m 59s
-
ASP.NET Identity3m 47s
-
Identity demo3m 51s
-
-
2. Authentication
-
Facebook authentication4m 27s
-
Twitter authentication3m 39s
-
Google authentication5m 20s
-
Microsoft authentication4m 21s
-
GitHub authentication5m 15s
-
Email confirmation in action4m 13s
-
3. Authorization
-
Simple authorization2m 32s
-
Role-based authorization2m 35s
-
View-based authorization3m 32s
-
4. Security
-
Vulnerability: Open redirect1m 33s
-
Conclusion
-
Next steps56s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: GitHub authentication