Replace UseIdentity() with UseAuthentication()
ProprietaryReplace app.UseIdentity() with app.UseAuthentication(). The UseIdentity method was removed in ASP.NET Core 2.0 in favor of UseAuthentication.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. AspNetCore2. UseUseAuthenticationmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. AspNetCore2. UseUseAuthenticationInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.