title: Authentication failed - Permission Denied with EmberFire
body: <p>I'm trying to set up a basic datastore at firebase when following simple beginner tutorials on Ember js 2.0. For example I am following this tutorial:</p>
  
  <p><a href="https://medium.com/@jamesfuthey/a-gentle-introduction-to-ember-2-0-8ef1f378ee4#.d6umfj62j" rel="nofollow">https://medium.com/@jamesfuthey/a-gentle-introduction-to-ember-2-0-8ef1f378ee4#.d6umfj62j</a></p>
  
  <p>I always seem to have a problem with authentication with the Firebase URL. That is, I've gotten to the bit where this tutorial tries to write information to my firebase project, but the Chrome Inspector shows I'm getting a 'permission denied' error from firebase.</p>
  
  <p><strong>FIREBASE WARNING: update at /posts/-KIpiNcp3WVRkCfwl_lW failed: permission_denied</strong></p>
  
  <p>I have installed emberfire with <strong>ember install emberfire</strong>. I have added my firebase URL to config/environment.js:</p>
  
  <p><strong>contentSecurityPolicy: { 'connect-src': "'self' HTTPREMOVED//auth.firebase.com wss://*.firebaseio.com" },</strong>
  <strong>firebase: 'HTTPREMOVED//ember2-blog-ccb21.firebaseio.com',</strong></p>
  
  <p><strong>Note: I had to remove the http element on these links to post here as I have a reputation less than 10.</strong></p>
  
  <p>Initially I did not change any authentication settings on my Firebase project (which I think is odd as I should need to authenticate to the Firebase project somehow). Then I tried adding my domains, firstly my IP and then the domain name associated with my IP.</p>
  
  <p>I'm using:
  ember-cli: 2.5.1</p>
  
  <p>I'd love it someone could point me in the right direction. Thank you.</p>