1
votes

Hello I use the code from https://coding.abel.nu/2014/11/using-owin-external-login-without-asp-net-identity/

and I was getting the error "The page isn't redirecting properly". after I login to my provider.

I clear my cookies but now when I log in to my provider but I get "Server not found". "Firefox can't find the server at login;jsessionid=f09ba421eeee23eab2a1ffa8b6ed35c3." in the url it returns https://login;jsessionid=f09ba421eeee23eab2a1ffa8b6ed35c3/. My provider is CAS. This is for firefox. In chrome it just brings a blank page.

I try it also with Google but I get same errors.

Any idea? thank you

1

1 Answers

1
votes

I believe I had the similar bug, there was one line solution to this bug...

"here is a bug in Microsoft's Owin implementation for System.Web. The one that is being used when running Owin applications on IIS. Which is what probably 99% of us do, if we're using the new Owin-based authentication handling with ASP.NET MVC5.

The bug makes cookies set by Owin mysteriously disappear on some occasions..."

solution here: https://github.com/KentorIT/owin-cookie-saver