Infinite redirect loop for Basic or Windows authentication?

前端 未结 5 570
长发绾君心
长发绾君心 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

    I had the same problem but I fixed it simply by adding [AllowAnonymous] before my Login Controller. It might not work for everyone, but maybe it was just this.

提交回复
热议问题