Use GetExternalAuthenticationSchemesAsync()
ProprietaryReplace GetExternalAuthenticationSchemes() with GetExternalAuthenticationSchemesAsync(). The synchronous method was removed in ASP.NET Core 2.0.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. AspNetCore2. UseGetExternalAuthenticationSchemesAsyncmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. AspNetCore2. UseGetExternalAuthenticationSchemesAsyncInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.