Last post Jul 19, 2019 06:30 AM by alisajid
Jul 18, 2019 05:46 PM|alisajid|LINK
I have an strange issue with identity 2.0 in web forms.
I am testing my application which I published on IIS. While I can log in from one browser. In second browser window the it won't let me log in. No errors. Just page redirects to page where I want to redirect after successful log in and then redirects back
to log in page.
Login page -> Successful Authentication Page ->Login page
For this scenario I can see in fiddler that there is no .AspNet.ApplicationCookie only __AntiXsrfToken is present.
I have set authentication mode to none in web.config. I didn't find any thing on web so it must be something very basis that I am missing.
The problem goes away after I recycle the application pool and randomly comes back after application restarts after recycle timeout.
Jul 19, 2019 06:30 AM|alisajid|LINK
After wasting hours, turned out to be bug in OWIN package which is created out of the box in VS 2017. Here is the complete thread.