Firebase Auth, latest version.
sendSignInLinkToEmail(email, settings) does not only sign the user in but also registers him when his email does not exist yet.
The problem is that this behavior could undermine an extra registration process, in which the user has to specify more data than just the email.
Use sendSignInLinkToEmail(email, settings) with a user email that has not been registered yet.
The automatic sign up can be disabled in the firebase console. When a user tries to login with an email that has not been registered yet firebase returns an error which can be catched.
Thanks for filing a feature request, @fabianmarcus. I created an internal FR (b/145924653) for this.
I got feedback from Auth folks that we actually support the option to disable sign up but this is currently only available via the Cloud Console (for Identity Platform projects only).
We have plans to expose this in the Firebase Console yet can't share any timelines or specifics for now.
Mhm... Then I'm looking forward to hear some news about this!
Thank you anyways
Most helpful comment
Thanks for filing a feature request, @fabianmarcus. I created an internal FR (b/145924653) for this.