title: AngularFire 2.0.1 $createUserWithEmailAndPassword auth/invalid-api-key
body: <p>I am trying to create a Firebase user from AngularFire 2.0.1 (Firebase 3.0.5) using:</p>
  
  <p><code>$createUserWithEmailAndPassword(email, password)</code></p>
  
  <p>The api returns an error:</p>
  
  <pre><code>{"code":"auth/invalid-api-key",
    "message":"Your API key is invalid, please check you have copied it correctly."}
  </code></pre>
  
  <p>The config for the app looks like this:</p>
  
  <pre><code>{apiKey: "my_verified_key", 
   authDomain: "my_verified_project_id.firebaseapp.com", 
   databaseURL: "https://my_verified_project_id.firebaseio.com/"}
  </code></pre>
  
  <p>where my_verified_key is the database secret found at </p>
  
  <p><code>https://console.firebase.google.com/project/my_app/settings/database</code></p>
  
  <p>my_verified_project_id is the ProjectId found at </p>
  
  <p><code>https://console.firebase.google.com/iam-admin/settings/project?project=my_verified_project_id&amp;consoleReturnUrl=https:%2F%2Fconsole.firebase.google.com%2Fproject%2Fmy_verified_project_id%2Fsettings%2Fgeneral%2F</code></p>
  
  <p>In the network log I see that the error comes from a POST to </p>
  
  <p><code>https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=my_verified_key</code></p>
  
  <p>I have checked that identity toolkit api is enabled for my app.</p>
  
  <p>I've tried disabling/enabling email/password authentication in the Firebase control panel as suggested elsewhere.</p>
  
  <p>I have tried to create the user from the node library but it seems that most of the auth functionality is not implemented there. </p>