I had this error happen when Firebase had automatically signed in an existing user, but the UI was not checking for this and allowed users to atempt to sign in when already authenticated