From the course: ASP.NET Core Identity: Authentication Management

Unlock the full course today

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

Authenticating using GitHub

Authenticating using GitHub - ASP.NET Core Tutorial

From the course: ASP.NET Core Identity: Authentication Management

Start my 1-month free trial

Authenticating using GitHub

- [Instructor] To configure GitHub Authentication in our .NET Core applications we need to follow some simple steps. So first, we need to create a GitHub application from where we are going to get the App ID and the App Secret. Then next in our startup.cs file, we need to configure the GitHub authentication, and at the end, we want to test things out to make sure that everything works as expected. So, let us start with the fist step, which is to create a GitHub application. So for that, let us go to github.com. In here, sign in using your credentials, and then go to your profile picture on the right and choose Settings. Then scroll down and click the Developer settings option on the left. Then click the button on the right and provide an Application name. I'm going to name this one AuthenticationCore. Now provide the Homepage URL, so I'll just write in here https://dotnethow.net. And to get the authorization callback URL go to Visual Studio and go to your project, right click on the…

Contents