Project

General

Profile

Actions

Idea #16848

closed

Token handling improvements

Added by Peter Amstutz over 4 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Start date:
02/17/2021
Due date:
Story points:
2.0
Release relationship:
Auto

Description

  • "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.

https://html.spec.whatwg.org/multipage/webstorage.html#the-storageevent-interface


Subtasks 1 (0 open1 closed)

Arvados - Task #17031: Review 16848-token-handling-improvementsResolvedPeter Amstutz02/17/2021Actions

Related issues 3 (0 open3 closed)

Related to Arvados Epics - Idea #16520: GxP QualificationResolved08/01/202004/30/2021Actions
Related to Arvados - Feature #16180: Add a "Copy to Clipboard" Button for the tokenResolvedActions
Related to Arvados - Bug #16159: Expire or invalidate token when logging out (logout)ResolvedLucas Di Pentima04/08/2021Actions
Actions

Also available in: Atom PDF