Q:

Firebase Google authentication error in ionic3

auth.ts 
signInWithGoogle(): firebase.Promise<any> {
return this.afAuth.auth.signInWithRedirect(new firebase.auth.GoogleAuthProvider());}

login.ts 
loginGoogle() {
this.authData.signInWithGoogle().then(() => {
  this.navCtrl.push(TabsPage);
}, error => {
  this.presentToast("Invalid user details");
});}

Open the google account selector and app working smoothly in mobile when select and account to authenticate from the list it display a message
mobile app identifier is not registered for the current project 
Message showing:

Please help me to solve this. Thank you!

A:

I had the same issue and was able to fix it by updating my widget id (in the config.xml file, to match the app id in the firebase console.

