You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given an invalid email argument and a valid password argument. signInWithEmailAndPassword method from JavaScript SDK throws an error with a codeauth/invalid-email using an actual Firebase project. The method throws an error with a codeauth/missing-email when an Authentication emulator is enabled.
Given Firebase app is initialized and Authentication emulator is enabled. signInWithEmailAndPassword should throw an error with a codeauth/invalid-email
I have also come into this issue. Running the latest versions of Firebase and Tools and having the same messages as decribed, this issue being a year old it seems it is not going to be fixed soon.
A work around is easy but the fix should be simple enough too. We should not have to implement work arounds for testing different environments. They should behave in a mirrored fashion.
Thanks for raising this issue. The fix should be in the next version bump of firebase-tools (i.e. > 11.16.1)! If you're still facing the bug after the next version, please feel free to reopen or file a new issue
Given an invalid email argument and a valid password argument.
signInWithEmailAndPassword
method from JavaScript SDK throws an error with acode
auth/invalid-email
using an actual Firebase project. The method throws an error with acode
auth/missing-email
when an Authentication emulator is enabled.Environment info
firebase-tools:
9.22.0
firebase:
9.2.0
Platform: macOS
12.0.1
Test case
When a function
signInWithEmailAndPassword
is called using Authentication emulator, it's behavior should match real Firebase Authentication.Steps to reproduce
Given Firebase app is initialized and Authentication emulator is enabled.
signInWithEmailAndPassword
throws an error with acode
auth/missing-email
Expected behavior
Given Firebase app is initialized and Authentication emulator is enabled.
signInWithEmailAndPassword
should throw an error with acode
auth/invalid-email
The text was updated successfully, but these errors were encountered: