Infinite redirect loop for Basic or Windows authentication?

前端 未结 5 692
长发绾君心
长发绾君心 2021-02-01 23:03

I am working on a new ASP.NET application. On IIS8, if I disable Anonymous access and enable Basic or Windows authentication, it goes into an infinite redirect loop and lands at

5条回答
  •  青春惊慌失措
    2021-02-01 23:48

    By disable the anonymous access the page that makes the login is not allowed to be view with out authenticate first.

    So the system is try to authenticate the user by redirect him on the login page, but because can not allowed either the login page, is felt on this loop for ever.

提交回复
热议问题