Is page state "secure" -> not accessible by user?

Hi!

I'm building an app (web and antive) where users have to verify their identity using a code sent to an email address.

The easiest way to set this up seems to be to generate a code in FlutterFlow, send it via mail and store in page state and then compare the code the user entered with page state.

Obviously I don't wan't a malicious user to be able to access the code that is stored in page state.

Hance the question that I have not found an answer, to, yet: Is this approach secure? I.e. can I be assured that one cannot access the values stored in page state using e.g. inspection tools in the browser?

Appreciate any hints :)

1
8 replies