I have a peculiar problem with an MVC5 web app. It uses a pretty standard implementation of OWIN an the Thinktecture ResourceAuthorizationManager.
It is configured to work with ADFS.
The problem that I am facing is that after the app has been deployed and has been running on the server (IIS in server 2012R2) for some time, when you try to login you get stuck in an authentication loop. I have added a trace and it shows that IsAuthenticated is false, even after successful postback from ADFS.
If I recycle the app pool it all starts working as expected for a short while.
I am in great need of some pointers of where to look.
Edit: Found the solution elsewhere. Answer can be found here: Intermittent redirection loops during ADFS authentication