title: Firebase: This domain is not authorized
body: <p>I imported <a href="https://firebase.google.com" rel="noreferrer">Firebase JS v3 API</a> and used to initialize Firebase using:</p>
  
  <pre><code>firebase.initializeApp(config);
  </code></pre>
  
  <p>However the app failed to load correctly via web browser on localhost, resulting in the following error:</p>
  
  <blockquote>
    <p>Error: This domain is not authorized for OAuth operations for your
    Firebase project. Edit the list of authorized domains from the
    Firebase console.</p>
    
    <p>firebase.js:71:1333</p>
  </blockquote>