Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase signInWithEmailAndPassword() 400() POST Error

I’m currently implementing the new firebase auth() in my angularjs app and every time I call

firebase.auth().signInWithEmailAndPassword(email, password)

it does return my promise and error / user object, but at the same time throws the following error in the console:

POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=[myKey] 400 () firebase.min.js:110

Seems to be working as expected but I don't like errors in my console :3

EDIT: Full console error (minified unfortunately):

firebase.min.js:110 POST
https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=[myKey] 400 ()
L.send @ firebase.min.js:110
S.xe @ firebase.min.js:151
Vf @ firebase.min.js:149
(anonymous function) @ firebase.min.js:154
H @ firebase.min.js:77
$f @ firebase.min.js:154
(anonymous function) @ firebase.min.js:162
e.za @ firebase.min.js:80
Cd @ firebase.min.js:84
yd @ firebase.min.js:84
H.Nd @ firebase.min.js:83
id @ firebase.min.js:77

Guess I'll have to contact firebase support, right?

like image 782
Yorick Tran Avatar asked Jul 06 '16 21:07

Yorick Tran


1 Answers

I can confirm @bojeil's answer, the error is intended behavior. Does not happen when password is correct!

like image 125
Yorick Tran Avatar answered Nov 10 '22 20:11

Yorick Tran