InvalidOperationException: No authenticationScheme was specified, and there was no DefaultChallengeScheme found. in .net core 3.1 code example
Example: No authenticationScheme was specified, and there was no DefaultChallengeScheme found
services.AddAuthentication(IISDefaults.AuthenticationScheme);