Sitecore with iis Forms Authentication 和 coding Basic Authentication

Sitecore with iis Forms Authentication and coding Basic Authentication

目前我用 Basic authentication in ASP.NET MVC 5 使我的 sitecore 网站有登录要求,在 iis 身份验证中启用 "Anonymous" 和 "Forms"。

但是当Forms Authentication被禁用时,我无法登录Sitecore后台,所以必须启用它。另一方面,页面将直接重定向到指定页面而不询问登录信息。

我的问题是如何使用编码基本身份验证和 iis 表单身份验证使其工作。

谢谢

使用Basic authentication in ASP.NET MVC 5

并配置表单身份验证将页面重定向到被限制的页面(仅限“/”)。然后两者都在工作。