there was no defaultchallengescheme found code example
Example: No authenticationScheme was specified, and there was no DefaultChallengeScheme found
services.AddAuthentication(IISDefaults.AuthenticationScheme);
services.AddAuthentication(IISDefaults.AuthenticationScheme);