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