Error 10 on google auth with firebase

When i’m trying to login with google alert gives Error:10
my login function is
loginUser(): void {
this.googlePlus.login({
'webClientId': 'my id',
'offline': true
}).then( res => {
firebase.auth().signInWithCredential(firebase.auth.GoogleAuthProvider.credential(res.idToken))
.then( success => {
this.navCtrl.setRoot(MainHomePage)
})
.catch( error => alert("Firebase failure: " + JSON.stringify(error)));
}).catch(err => alert("Error: "+ JSON.stringify(err)));
}

There’s a direct Firebase function to log in with Google. I know that works. Is there a reason you need to use this two-step process?

Earlier google auth with the same function was working fine but didn’t know what happened today.

I am facing the same problem here, did you manage to solve this?

bhai problem solve hue kya bta do yr ho gyi hoto.