Pergunta

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.

Foi útil?

Solução

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)

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top