Using Firebase with Electron
<p>I'm trying to use Firebase with <a href="http://electron.atom.io/" rel="noreferrer">Electron</a>. When installing it just like I would on a web page it doesn't work because Electron pages are hosted locally and don't have a <code>hostname</code>. This is the error I'm getting...</p>

<pre><code>Uncaught Error: This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.
</code></pre>

<p>I can't add an empty (or wildcard) authorized domain to the Firebase console so I'm therefore stuck. Does anybody have any ideas of how to work around this?</p>

<p>edit: Here's the code I'm using, it's just the standard boilerplate, nothing extra...</p>

<pre><code>&lt;script src="https://www.gstatic.com/firebasejs/live/3.0/firebase.js"&gt;&lt;/script&gt;
&lt;script&gt;
  var config = {
    apiKey: "AIzaSyBvmmPB0_Oddc-02cUj3Ntt3wi8jSxxxx",
    authDomain: "xxxxx-d24ad.firebaseapp.com",
    databaseURL: "https://xxxxx-d24ad.firebaseio.com",
    storageBucket: "",
  };
  firebase.initializeApp(config);
&lt;/script&gt;
</code></pre>