function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
frank_costanzafrank_costanza 

SAML IE 9

We setup Salesforce to use single sign-on using SAML (Okta).

 

Our Salesforce app is loaded in an iframe as part of a larger Enterprise portal.

 

Single sign-on works fine in Chrome and Firefox in an iframe. In IE9, during one of the redirects, we get an error saying that the login page cannot be loaded in an iframe.

 

When I enter the SSO url  in a new window, it works fine in IE9.

 

I noticed that in Chrome, none of the response headers have the X-FRAME-OPTIONS=DENY, but in IE9, they do.

 

Has anyone had success or have ideas on how to make this work with IE9 in an iframe? Why would it work in Chrome/FF but not IE9 in an Iframe?

Ashish_SFDCAshish_SFDC
Hi Frank, 

The solution is to have *.salesforce.com in a higher trust setting in IE (e.g. Trusted Sites) which will allow cookies to be persisted.

Also see the below link for similar discussion, 

http://stackoverflow.com/questions/5514973/javascript-code-in-iframes-in-ie9-not-working

Regards,
Ashish