No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or AddAuthentication(Action<AuthenticationOptions> configureOptions). code example
Example: No authenticationScheme was specified, and there was no DefaultChallengeScheme found
services.AddAuthentication(IISDefaults.AuthenticationScheme);