You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user's supplied session token expires whilst logged in, they won't find out until they next attempt to turn the VPN on, at which point they need to then log out, and log back in.
We should instead check if the token is expired when the app starts, and sign the user out if it is.
The text was updated successfully, but these errors were encountered:
Closes#107.
When the menu bar icon is clicked, and the user is signed in, and the VPN is disabled, the app will check if the token is expired. If it is, the user will be signed out.
We could have checked this when the VPN is enabled, but the UX seemed worse, and the implementation would have been messy. We would have needed to sign the user out and show an error. Instead, we'll check for expiry in a scenario where the next user step would likely be an interaction that requires a session.
This approach also future-proofs for when functionality becomes usable without the VPN.
If the user's supplied session token expires whilst logged in, they won't find out until they next attempt to turn the VPN on, at which point they need to then log out, and log back in.
We should instead check if the token is expired when the app starts, and sign the user out if it is.
The text was updated successfully, but these errors were encountered: