We are experiencing a regression after updating our application from 5.12 to 6.1 on .NET Framework 4.8:
We are using AuthFeature with two auth providers and the HtmlRedirect property set to “/login”.
If a non-authenticated user accesses the app per browser, he will be redirected to /login when running with 5.12. With 6.1 he gets the browsers Windows auth frontend. IIS is configured to use anonymous.
The returned headers are as follows:
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/10.0
X-Compatible-With: 9.0
WWW-Authenticate: apphost realm="/auth/apphost"
X-Content-Type-Options: nosniff
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
Date: Thu, 16 Jun 2022 08:43:40 GMT
Content-Length: 84
/auth/apphost is the realm of our first auth provider.
Acessing the login endpoint directly works, as does the login over the auth provider. Only the redirect seems to be affected.
Is there any option that needs to be set now to enforce the old behavior?