Token handling improvements
(Total: 0.00 h)
- "Show current token" dialog in workbench should give you a button to request a new token instead of showing the one in use by Workbench. Change the label to something like "Get API token".
- If LoginCluster is set and current cluster is not the login cluster, show the workbench token
- If the "create token" API call fails, show the workbench token
- Auto-logout should coordinate across browser tabs so that it only logs out when all of them have been idle. When there is activity, it should update a timestamp in localStorage. When deciding whether to logout due to an idle timeout, check that the shared timestamp in localStorage is expired.
Possibly useful, there's a "storage" event that happens when localStorage is updated.