title: Electron Auth0Lock "Origin file:// not allowed"
body: <p>Trying to get auth0 working with my electron app. When I follow the default tutorial and try to authenticate with Username-Password-Authentication, the lock fails with a 403 error and responds with "Origin file:// is not allowed". </p>
  
  <p>I've also added "file://*" to the Allowed Origins (CORS) section of my client settings in the auth0 dashboard.</p>
  
  <p><a href="https://i.stack.imgur.com/JQho3.png" rel="nofollow noreferrer">Auth0 Lock with console errors</a></p>
  
  <p><a href="https://i.stack.imgur.com/UbNU5.png" rel="nofollow noreferrer">Origin file:// is not allowed</a></p>
  
  <p>EDIT:</p>
  
  <p>Lock setup in electron</p>
  
  <pre><code>var lock = new Auth0Lock(
     'McQ0ls5GmkJRC1slHwNQ0585MJknnK0L', 
     'lpsd.auth0.com', {
      auth: {
              redirect: false,
              sso: false
      }
  });
  
  document.getElementById('pill_login').addEventListener('click', function (e) {
      e.preventDefault();
      lock.show();
  })
  </code></pre>