Saqib
Saqib

Reputation: 2283

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

Upvotes: 0

Views: 191

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 599491

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:

Upvotes: 1

Related Questions