title: Auth0 in Ionic2 gives Uncaught can't find relay frame in callback
body: <p>I am trying to get Auth0 working in Browser using </p>
  
  <blockquote>
    <p>ionic run browser</p>
  </blockquote>
  
  <p>I have followed the guides from Auth0. I am using</p>
  
  <blockquote>
    <p>auth0-7.6.1.min.js</p>
    
    <p>lock/10.10.2/lock.min.js</p>
  </blockquote>
  
  <p>versions. navigation to Google login page happens, but the callback is failing with blank white screen. by call back I mean loading the </p>
  
  <blockquote>
    <p><a href="https://n00b.au.auth0.com/login/callback?state=blahblahblah" rel="noreferrer">https://n00b.au.auth0.com/login/callback?state=blahblahblah</a>...</p>
  </blockquote>
  
  <p>url. which loads a white html with JavaScript that throws exeption</p>
  
  <blockquote>
    <p>Uncaught can't find relay frame</p>
  </blockquote>
  
  <p>in these lines of code</p>
  
  <pre><code>     onOpen: function(cb) {
          var o = "*";
          var msgTarget = isIE ? findRelay() : window.opener;
          if (!msgTarget) throw "can't find relay frame";
  </code></pre>
  
  <p>clearly a global window.opener property was expected to exist. 
  knowing that this whole URL is served by Auth0, I can't find a way to figure out what is wrong. </p>
  
  <p>I have checked the logs in Auth0 and it is all green from their perspective and shows successful login. </p>
  
  <p>Any Idea why this is failing?</p>
  
  <p>UPDATE: tested on iPhone and iOS Emulator and both only show blank white screen. Downloaded sample Auth0 project and has this issue without any modification. My guess is that it has something to do with InApp Browser plugin of Cordova opening the login page in a new safari window</p>