开发者

dotnetopenauth - popup window does not close after authentication

I'm using d开发者_如何学Gootnetopenauth to as my open id lib. in all browsers the popup being close after authentication except for IE. I'm doing the authentication as follows:

Using window.open I opens the Authenticate action and after successfully authenticate return the following view:

    if (window.opener.isUserLoggedOn()) {
        window.opener.OnUserLogonFinished();
        window.close();
    }
    else {
        window.close();
    }

In all browsers the opener is accessible except for IE.

Any help would be appreciated.

Thanks, Lior


Are you using the standard pop-up windows hosted and controlled by DotNetOpenAuth or have you spun your own?

One issue I ran into is that if your IE popup window changes zones (Internet to Intranet or Trusted) during redirect that it permanently breaks the relationship between the child and parent window. But fortunately that usually isn't an issue once you go to production since your site will be in the Internet zone for your users as will most of the users' Providers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜