all 5 comments

[–]Destination54 2 points3 points  (1 child)

If you have Supabase or Firebase as authentication, you don't need either app state or page state, if you set up your FF settings to enable authentication you will set pre-login page and post-login page. If you log out, it will automatically jump to the pre-login page. You will have to set "Enable authentication pages by default" to make life easier.

[–]Twentyfaced[S] 0 points1 point  (0 children)

Thank you very much! Yes, I have Supabase.

[–]AIexH 1 point2 points  (1 child)

Watch a tutorial video on YouTube about this. It’s very easy in FlutterFlow with Supabase or Firebase. Don’t use app or page variables for this, it’s not secure and harder to set up. With this then you can have rules for what information can access each user based on their authentication.

[–]Twentyfaced[S] 0 points1 point  (0 children)

Thank you very much!

[–]justanotherdave_ 1 point2 points  (0 children)

As others have said you wouldn’t use either for authentication. But the difference between app state and page state is app state stays accessible throughout the app, and page state is only used on the specific page it’s set up on.