This is not really supported in ASP.NET (the authenticationMode attribute in web.config is an enum for a good reason - either Windows or Forms). This is a limitation of IIS/ASP.NET.
All approaches (like the one from Mike) are considered "hacks". They might work - but the ASP.NET app on top must be designed for it/aware of it. IdentityServer isn't.