I guess you mean Microsoft.AspNetCore.Authentication 2.2.0 is deprecated.
Have a look at Migrate from ASP.NET Core 2.2 to 3.0 , and I suggest you use :
Microsoft.AspNetCore.Identity.UI
Microsoft.AspNetCore.Identity.EntityFrameworkCore
You can read ASP.NET Core authentication to know more.