title: Firebase Simple Login for Facebook fails with "Given URL is not allowed by the Application configuration"
body: <p>I am following along with this article:
  <a href="https://www.firebase.com/blog/2014-07-25-ionic-simple-login.html" rel="nofollow">https://www.firebase.com/blog/2014-07-25-ionic-simple-login.html</a></p>
  
  <p>I am building an android app though.</p>
  
  <p>When I click the facebook login button, Facebook gives me this error:</p>
  
  <blockquote>
    <p>Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.</p>
  </blockquote>
  
  <p>On Facebook Developers, in my app's basic settings, I have the site url and mobile site url set to <code>http://localhost/</code>. On the advanced screen, I have "Valid OAuth redirect URIs" set to include these urls:</p>
  
  <p><code>https://auth.firebase.com/v2/&lt;firebase-app-name&gt;/auth/facebook/callback</code></p>
  
  <p><code>http://localhost</code></p>
  
  <p><code>http://127.0.0.1</code></p>
  
  <p><code>http://&lt;firebase-app-name&gt;.firebaseapp.com/</code></p>
  
  <p><code>Client OAuth Login</code> and <code>Embedded browser OAuth Login</code> switches in the same section are set to "Yes".</p>
  
  <p>In the <code>Status &amp; Review</code> tab, I have made this app available to the general public.</p>
  
  <p>I thought it might have something to do with the whitelisting of the URLs, but the article doesn't mention whitelisting android apps. I did edit my project root's config.xml file to include</p>
  
  <pre><code>&lt;access origin="*.firebaseio.com" /&gt;
  &lt;access origin="auth.firebase.com" /&gt;
  </code></pre>
  
  <p>Strangely I don't see this in <code>&lt;project-root&gt;/platforms/android/res/xml/config.xml</code> after running <code>cordova build</code>. This is just a guess at this point, I have no clue what's going on and could use some help!</p>
  
  <hr>
  
  <p>Note: <code>&lt;firebase-app-name&gt;</code> is set to the actual name of the firebase app, and my controller also includes the proper name.</p>
  
  <hr>
  
  <p>Update: I have been playing around with the urls in <code>App Domains</code>, <code>Site URL</code>, and <code>Mobile Site URL</code> on the facebook developers page, figured that might be the other problem, but so far no luck.</p>