Authentication Problem

Actions & Logic

I am working on a Todo List App, I follow a tutorial to do it, I just implemented the Sign in/Sign up pages, when clicking the button to create an account, it does send the data to Firebase as a document is created with all the infos.
The problem comes from the navigation, the auth action should send the user to the next page, but a fraction of second later, the app returns to the login page
So it did recognize the user as it went to the next page, but it went back instantly after.

Create Account Action + log in action

What have you tried so far?

On the debug panel, I see that the variable named "isUserLoggedIn", is to false, when I log in, it takes the value true, and then it goes back to false

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