I have a sign-up button that creates a user document through Firebase Authentication and adds additional parameters such as language, user type, and other fields from my user data schema. When I delete a user using the Firebase Auth delete user action, it logs me out as expected. However, if I sign up again immediately on the login sign-up page without closing or restarting the app, the system creates a new user document with only the basic fields provided by Firebase Authentication (created time, email, and uid), while skipping all the additional fields. It appears that the system mistakenly thinks the deleted user still exists, so when I sign in again, it cannot find a full user document and ends up creating a new one with limited fields.
User Deletion and Re-Sign Up Issue in FlutterFlow
Actions & Logic
I have experimented with several approaches, and my conclusion is based on the observation that the deleted user and the newly created user have different UIDs. I removed all extra logic from my app to rule out any interference, yet the issue persists. This leads me to believe the problem might be due to the system's handling of user sessions or document initialization when a user is re-signed up immediately after deletion.
Yes