ASP.NET Identity Core cookie causes http 403 error when login and logout multiple time

Viewed 435

I have developed an ASP.NET MVC 5 application and it is hosted on shared hosting - IIS 10. For authentication, I am using identity to check authentication.

I'm logging in and out multiple times in my application. After 6 or 7 attempts, it directs me to the 403 error page.

After clearing the cache from the browser, it works fine again.

Please assist me to find a solution.

I updated the machine key as well. still getting the same issue.

The error initiates from the dynamic compression module when we check the tracing

1 Answers

I got an answer from the Hosting team. They have installed (ModSecurity)WAF to block requests from understanding the behavior of requests. After disabling this works fine now.

It will definitely help someone. Thanks.

Related