title: Using Auth0 Lock in popup mode
body: <p>I am using Auth0 to implement social login with Google in my Ionic application.</p>
  
  <p>I had set <code>redirect</code> option equal to <code>false</code> as per the <a href="https://auth0.com/docs/quickstart/native/ionic/01-login" rel="nofollow noreferrer">documentation</a> and this opens up a new tab.</p>
  
  <p>Now when I set <code>redirect</code> equal to <code>true</code> (default) then as per the documentation it should display the login window in a popup, but I am getting the following error: </p>
  
  <blockquote>
    <p>Refused to display '<a href="https://accounts.google.com/AccountChooser?continue=https://accounts.google" rel="nofollow noreferrer">https://accounts.google.com/AccountChooser?continue=https://accounts.google</a>….com%26from_login%3D1%26as%3D-13354ff19852788a&amp;btmpl=authsub&amp;scc=1&amp;oauth=1' in a frame because it set 'X-Frame-Options' to 'DENY'</p>
  </blockquote>
  
  <p>I know because I am trying to open this inside <code>localhost</code>, that is why I am getting this error. But how can I test this feature in my local environment?</p>