The site of our Openid provider revealed a problem with ie 11. After login, when the provider is required to make the return redirect page is reloaded and again we find ourselves on the page, login and password. After several attempts to get this error.

The lines on which the error occurs:

if (ProviderEndpoint.PendingAuthenticationRequest.IsDirectedIdentity) {
        ProviderEndpoint.PendingAuthenticationRequest.LocalIdentifier = Code.Util.BuildIdentityUrl(); 
}

What is interesting, this problem occurs only when using https. When http everything is OK.

有帮助吗?

解决方案

This issue is a result of the IE11 new User Agent String. MS is already have a patch for .Net Framework 4, but it didn't work for me because I have .Net Framework 4.5 on the server while provider is using .Net Framework 4.0. So I can't install the patch properly (link).

I temporarily solved this issue by using the value of UseCookies for the cookieless attribute in web.config file (<authentication><forms> section)

其他提示

I can confirm this is also the solution for a custom MembershipProvider we use, which is derived from System.Web.Security.MembershipProvider.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top