Hello,
I am experiencing an issue with my FlutterFlow project related to Firebase Authentication and Firestore document creation.
Project setup:
- FlutterFlow
- Firebase Authentication (Email/Password)
- Firestore Database
Issue description:
When I register a new user using the "Create Account" action in FlutterFlow, the user is successfully created in Firebase Authentication. I can see the new user in the Firebase Console under Authentication with the correct UID and creation timestamp.
However, after the account is created, the rest of the action flow does not seem to execute.
Expected flow:
Button โ On Tap
1. Auth โ Create Account
2. Backend Call โ Create Document (Firestore collection: "conductores")
3. Navigate to another page
Actual behavior:
- The user is created in Firebase Authentication successfully.
- The "Create Document" action does not create any document in Firestore.
- The app does not navigate to the next page.
- The UI remains on the same screen with no visible error message.
Firestore setup:
Collection: conductores
Fields passed when creating the document:
- uid = currentUserUid
- nombre
- enServicio
Additional checks already performed:
- Firebase Email/Password authentication is enabled.
- Firestore rules allow document creation.
- Firebase project is connected correctly.
- The problem occurs in both Test Mode and the published web app.
- The user appears in Authentication but no document is created in Firestore.
Console observation:
In the browser console I sometimes see a request error related to:
identitytoolkit.googleapis.com (HTTP 400)
But the user is still created successfully.
Additional question:
For my use case (taxi app), I would prefer not to allow open registration. Instead, I would like to manually create users in Firebase Authentication and provide drivers with their email and password.
Is it possible to only use the Login action and skip the Create Account flow completely in FlutterFlow?
Thank you.