I am getting this when I add in the signInWithEmailAndPassword or createUserWithEmailAndPassword
Error: Uncaught (in promise): Error: Your API key is invalid, please check you have copied it correctly.
I am using firebase with ionic. I am using AngularFireAuth, and have the credentials in a const FIREBASE_CONFIG = {
apiKey: “XXXXXXXXXXX”,
authDomain: “XXXXXXXX”,
databaseURL: “XXXXXXXXX”,
projectId: “XXXXXXXXX”,
storageBucket: “XXXXXXXX”,
messagingSenderId: “XXXXXXXXX”
}
All of these copied from the firebase include in webapp. multiple times to make sure they are correct.
Has anyone else been experiencing issues with the latest update to firebase?
this is the register.ts
import { Component } from ‘@angular/core’;
import { IonicPage, NavController, NavParams } from ‘ionic-angular’;
import { AngularFireAuth } from ‘angularfire2/auth’;
import { User } from ‘…/…/models/user’;