Firebase User 'disabled' - what does it really mean?

6,011 views
Skip to first unread message

Lucas Ávila

unread,
Nov 16, 2016, 5:45:09 PM11/16/16
to Firebase Google Group
Well, keep it simple for my side:
I'm doing some kind of social network and would like to ban users that don't follow the rules.
The 'disabled user' new feature introduced on the Node Admin SDK would do it?
There are other ways to do this?

Thanks for the help

Bassam

unread,
Nov 16, 2016, 7:50:03 PM11/16/16
to Firebase Google Group
Hey Lucas,
There are many use cases here. A disabled user cannot sign in to an app anymore and continues to be stored in the Firebase Auth backend.
You have the ability to disable/enable a user via the admin SDK or from the firebase console.
In some cases, disabling a user is a temporary action that will allow you to enable after some action is taken unlike deleting the user.
Also unlike deleting a user, the user cannot sign up again with the same credential after being disabled, whereas, a deleted user can recreate the account after being deleted.
So I think the use case you are suggesting is a legitimate use case for disabling a user.

Bassam

Lucas Ávila

unread,
Nov 17, 2016, 8:02:00 AM11/17/16
to Firebase Google Group
Thanks Bassam!!!
This fits my use case indeed.
Reply all
Reply to author
Forward
0 new messages