2

I am using the Angular + Auth0 seed project and everything works as expected in Chrome, but in IE 11, I get the following error when trying to login with Google, Microsoft, etc. credentials:

Unable to get property 'frames' of undefined or null reference

It specifically calls out the following and fails on the line for var frames = window.opener.frames with the error message: Unable to get property 'frames' of undefined or null reference

 function findRelay() {
var loc = window.location;
var frames = window.opener.frames;
for (var i = frames.length - 1; i >= 0; i--) {
  try {
    if (frames[i].location.protocol === window.location.protocol &&
        frames[i].location.host === window.location.host &&
        frames[i].name === RELAY_FRAME_NAME)
    {
      return frames[i];
    }
  } catch(e) { }
}
return;

}

Any clues?

Kode
  • 3,073
  • 18
  • 74
  • 140

1 Answers1

1

I found the answer here: https://stackoverflow.com/a/26359243/23059. I enabled protected mode for local intranet so that it matched internet protected mode.

Community
  • 1
  • 1
Cameron Taggart
  • 5,771
  • 4
  • 45
  • 70