Delete user from firebase authentication.

Actions & Logic

We have account verification on our system which enables the admin to confirm or reject user accounts. Rejecting account means deleting the user from the firebase authentication as well as its corresponding document on the user collection.

What have you tried so far?

I tried the delete user action, however, instead of deleting the specific account based on the user reference, it deleted the account of the admin because that is the authenticated user at that time. Is there a way i can change the function to delete a specific user instead of the authenticated user?

Did you check FlutterFlow's Documentation for this topic?
Yes
2
5 replies