Use GetExternalAuthenticationSchemesAsync()

Proprietary

Replace GetExternalAuthenticationSchemes() with GetExternalAuthenticationSchemesAsync(). The synchronous method was removed in ASP.NET Core 2.0.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UseGetExternalAuthenticationSchemesAsync
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.AspNetCore2.UseGetExternalAuthenticationSchemesAsync

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.