Skip to main content
All CollectionsHelp & Troubleshooting GuidesTesting Your App
Delete user action is not working properly!
Delete user action is not working properly!

If you use the delete user action, and you think it's not work how you expected to work.

David avatar
Written by David
Updated over a year ago

When a user attempts to delete their account, they may find that the delete action doesn't work as expected. Here are some tips for troubleshooting this issue:

  1. Understand that the delete action in Firebase is designed to delete the user from the auth table only. This means that the user's document in the database will not be affected. If you want to delete the user's document from the database as well, you'll need to create a custom action with some custom code.

  2. After you've completed the delete action, it's important to log out the user. This is because there is no longer a user connected to the authenticated user in the app. Logging out will ensure that the user is routed back to the login page, which is the initial page of your project.

Keep in mind that if the same user uses the same signup method to log in again, Firebase will create a new document in the database for them. This is because Firebase will connect the new login information to the old user document.

Note: the action we do in Flutterflow is exactly the same action we can do manually to delete a user from the authentication table in Firebase.


โ€‹

Did this answer your question?