ASP.NET Core Identity is a membership system to add the login functionality along with creation, updating, and deleting application users. The identity system also provides the role management to assign specific roles to the users to provide authorization.
Identity management is one of the primary tasks in web security. The ASP.NET Core Identity package provides all the features for complete working.
It also provides external authentication with Google, Facebook, Twitter, and so on. It's highly recommended that you refer to the following link for a better understanding of Identity:
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity
We will add the Identity framework for the ASP.NET Core Web API project, authenticate it using application users, and also look into 2FA (Two Factor Authentication).