AnsweredAssumed Answered

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

Question asked by fsheagle-co-nz-esridist Employee on Jun 13, 2017
Latest reply on Nov 2, 2018 by stenarveesri-nl-esridist

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.

Outcomes