wpo365 / wpo365-login

Wordpress + Office 365 login is a Wordpress Plugin that allows Micrsoft O365 users to seamlessly and securely log on to your corporate Wordpress intranet. The plugin will create a Wordpress user for each corporate user when logged on to Office 365 and thus avoiding the default Wordpress login screen: No username or password required.
https://www.wpo365.com/
Other
11 stars 7 forks source link

Blank screen in IE: Sets Document mode to 5 in Internet Explorer #46

Open neilhoff opened 5 years ago

neilhoff commented 5 years ago

If you change the document mode to 11 it works great.

image

wpo365 commented 5 years ago

Hi @neilhoff - Just wondering: What causes (in your opinion) the document mode being set to 5? Can it be your custom theme?

neilhoff commented 5 years ago

Document mode gets set to 5 when going to a private page. It looks like it happens before or during the redirection to the o365.

You can test it at https://wordpresstest.skyline.com/ The "About" page is private.

neilhoff commented 5 years ago

Here is the Network analysis. It looks like it is happening somewhere in pintra-redirect.js

image

wpo365 commented 5 years ago

Not sure but when I navigate to the link you posted I get redirected correctly to Microsoft Online and I am asked to authenticate (using IE 11) ... I do agree, however, that the plugin doesn't output a proper HTML document but only a snippet ... I'll look into this but at the moment I don't see the blank screen in IE 11 ...