I am unable to show https://login.salesforce.com inside an IFrame.
<iframe src="https://login.salesforce.com"/>
I am using OAuth between my application and salesforce. For the sake of a better user experience, I do not want the users to leave my application's main window.
Any suggestions?
Sample to demonstrate the issue - http://jsfiddle.net/ngWxY/
We've been using the SSP in an iFrame without a problem for years. Then this past weekend our Salesforce domain received the Spring '13 update and we can no longer display the SSP in an iFrame. We discovered the reason is that Salesforce is now including the
X-Frame-Options: DENYheader in its HTTP Response, which tells the browser not to display the content in an iFrame. Some browsers give you an explanation msg, while others show nothing at all. We are waiting for a response from Salesforce; perhaps you are experiencing the same thing? Browse the SSP login URL in a regular browser window and use diagnostic tools to check the response headers of the returned content.