Currently the token is only validated after an action is made, after which the user is kicked back to Login. This isn't ideal UX seeing as you have a few options available and it just seems like an error occurred.
Instead let's validate the token before the app loads so that the user is routed immediately to the Login page (or Home if they were on Home) rather than taking the extra step.
Currently the token is only validated after an action is made, after which the user is kicked back to Login. This isn't ideal UX seeing as you have a few options available and it just seems like an error occurred.
Instead let's validate the token before the app loads so that the user is routed immediately to the Login page (or Home if they were on Home) rather than taking the extra step.