Firebase-js-sdk: FR: possibility to deactivate SignUp when signing in with email link

Created on 8 Dec 2019  路  3Comments  路  Source: firebase/firebase-js-sdk

[REQUIRED] Describe your environment

Firebase Auth, latest version.

[REQUIRED] Describe the problem

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.

Steps to reproduce:

Use sendSignInLinkToEmail(email, settings) with a user email that has not been registered yet.

FEATURE IDEA

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.

Relevant Code:

https://stackoverflow.com/questions/58652045/why-does-sendsigninlinktoemailemail-settings-not-check-whether-the-given-emai

auth feature request

Most helpful comment

Thanks for filing a feature request, @fabianmarcus. I created an internal FR (b/145924653) for this.

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings