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
Passing empty strings to createUserWithEmailAndPassword results in account creation and signing in with the created user credentials, even though credentials lack. Basically it resembles anonymous login, but the created and signed in current user is not anonymous (isAnonymous: false) despite the fact that all object fields except for uid are empty.
At the same time deployed version does not allow for empty strings to be passed to createUserWithEmailAndPassword. Doing so results in error "auth/invalid-email"
[REQUIRED] Expected behavior
Expected throwing an error "auth/invalid-email"
[REQUIRED] Actual behavior
Empty account gets created
The text was updated successfully, but these errors were encountered:
Hi @isbogdanov, thanks for reporting this issue. I was able to replicate the behavior you mentioned. When using the Auth emulator, a user is created with a blank email address. But when connecting to a Firebase project, an error is raised. I’ll notify our team about this so that they can take a look, and I’ll be marking this as reproducible.
[REQUIRED] Environment info
firebase-tools: 11.25.1
**Platform:**mac os, nmp
[REQUIRED] Test case
Auth emulator creates a user with empty email and password.
[REQUIRED] Steps to reproduce
Passing empty strings to createUserWithEmailAndPassword results in account creation and signing in with the created user credentials, even though credentials lack. Basically it resembles anonymous login, but the created and signed in current user is not anonymous (isAnonymous: false) despite the fact that all object fields except for uid are empty.
At the same time deployed version does not allow for empty strings to be passed to createUserWithEmailAndPassword. Doing so results in error "auth/invalid-email"
[REQUIRED] Expected behavior
Expected throwing an error "auth/invalid-email"
[REQUIRED] Actual behavior
Empty account gets created
The text was updated successfully, but these errors were encountered: