No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using eith code example
Example: No authenticationScheme was specified, and there was no DefaultChallengeScheme found
services.AddAuthentication(IISDefaults.AuthenticationScheme);