Search code examples
firebasefirebase-authenticationfirebase-console

Temporary disable new sign-ups from Firebase console


How can I turn off new sign-ups from firebase console? Will it work if I disable the providers or re-enable it later? Actually I'm afraid disabling a provider will delete all the existing user accounts which uses that provider.

I just need to do it for few minutes to make a new deployment on our local server.

I have checked this answer but doesn't help

enter image description here


Solution

  • Disabling a provider will prevent anyone from signing up or signing in with that provider. It will not delete any existing user accounts however.

    There is no way within the standard Firebase Authentication providers to disable sign-up, but still allow users to sign-in with a provider.

    If you want to control who can use your application, you'll typically want to perform some other check, such as having a whitelist of approved users and checking against that.

    Also see: