I have an MVC intranet site that needs to use AD accounts for authentication.
I setup ADFS 3.0 (Win Server 2012 R2) and followed this to setup the ADFS Relying Party Tr
Yeah.. I came across the same issue. Just do the following and it should work:
app.SetDefaultSignInAsAuthenticationType(WsFederationAuthenticationDefaults.AuthenticationType );
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = WsFederationAuthenticationDefaults.AuthenticationType
});