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

Unlock the full course today

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

Authenticating using Facebook

Authenticating using Facebook - ASP.NET Core Tutorial

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

Start my 1-month free trial

Authenticating using Facebook

- [Instructor] To configure Facebook authentication, we need to go through some really easy steps. First of all, we need to create a Facebook application. And from this Facebook application, we are going to get the App ID and the App Secret. Then next, we need to go to our Startup.cs file, and in this file in our project, we are going to configure the App ID and the App Secret. And then at the end, we need to test that everything works as expected. So, let us go to our projects and see how we can implement Facebook authentication. Before we make any changes in here, let's first go to Facebook and create our Facebook application. To create a Facebook application, navigate to developers.facebook.com. Then in here, click the Log in button and enter your credentials. Press the Log in button to log into your Facebook account. And then from the My Apps drop-down on the right, choose the Add New App option. Here, provide a name. So, I'll just write in here AuthenticationCore and I click the…

Contents