IE 11 security prompt with SAML redirect for login - The webpage you are viewing is trying to close the tab.

5495
10
06-13-2017 10:24 PM
FraserHand1
New Contributor III

IE 11 security prompt with SAML redirect for login - The webpage you are viewing is trying to close the tab.

Hi there,

When using OKTA with Portal (as an IDP), when you click the Sign in with my enterprise login a new tab opens which redirects to the IDP. Once you sign in the IDP attempts to close the tab and redirect on the original tab which creates a popup that says:

The webpage you are viewing is trying to close the tab. Do you want to close this tab? Y / N

Clicking yes and you continue as normal. Apparently this is an IE security measure and isn't able to be disabled in IE 11 and is to do with javascript attempting to close a window from a host that did not initiate the window open. There are snippets of js to get around this but of course I don't want to have to go digging inside Portal to find the js to change. Note that Chrome and Firefox don't show this behaviour but IE is the customers corporate standard. Has anyone come across this or have a workaround, fix?

Thanks,

Fraser

Annoying IE popup

argh.

Tags (2)
10 Replies
by Anonymous User
Not applicable

Sudhir Ponnappan May I know the value for navigator.appName?

0 Kudos