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 {
'webClientId': 'my id',
'offline': true
}).then( res => {
.then( success => {
.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?