Using ASP.NET Core Identity is great for demos but leads to pain down the road as you grow.
This article and example illustrates how to use ASP.NET Core’s OpenID Connector to centralize your .NET app’s authentication and authorization with an OIDC compliant identity server. Your user data will be more secure and you’ll sleep better at night.