InvalidOperationException: No authenticationScheme was specified in ASP.NET Core with IdentityServer4
I’m encountering an InvalidOperationException in my ASP.NET Core application when integrating with IdentityServer4. In local everything works fine but when I replace my old projects (Client + Auth) I get this error message and many more but this one was the first one I saw in Event Viewer. The error message is: