Hi
i am trying to do a very simple thing but now sure how
I am trying to let users have a token only on a specific page
Meaning is current user is in page X, his token will be Y
If the user is not in page X, the token will be reset.
Of course, I can set inside the nav button to reset the token when the user is redirected to a different page, but then i have an issue if the user close the app, or change the URL… i would like to reset his token also then. (or anywhere that is not in page X)
Something like
“When current user is exit page X - Do a change in current user DB”