Story #16848

Token handling improvements

Added by Peter Amstutz 4 months ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Story points:
2.0

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

Arvados - Task #17031: ReviewNew


Related issues

Related to Arvados Epics - Story #16520: GxP QualificationIn Progress08/01/202002/28/2021

Related to Arvados - Feature #16180: Add a "Copy to Clipboard" Button for the tokenNew

Related to Arvados - Bug #16159: Expire or invalidate token when logging outNew

History

#1 Updated by Peter Amstutz 4 months ago

  • Category deleted (Workbench2)
  • Description updated (diff)

#2 Updated by Peter Amstutz 4 months ago

  • Target version set to 2020-10-07 Sprint

#3 Updated by Peter Amstutz 4 months ago

  • Release deleted (31)
  • Category set to Workbench2

#4 Updated by Peter Amstutz 4 months ago

  • Target version changed from 2020-10-07 Sprint to 2020-10-21 Sprint

#5 Updated by Peter Amstutz 4 months ago

#6 Updated by Peter Amstutz 4 months ago

  • Related to Feature #16180: Add a "Copy to Clipboard" Button for the token added

#7 Updated by Peter Amstutz 4 months ago

  • Description updated (diff)

#8 Updated by Peter Amstutz 4 months ago

  • Related to Bug #16159: Expire or invalidate token when logging out added

#9 Updated by Peter Amstutz 3 months ago

  • Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint

#10 Updated by Peter Amstutz 3 months ago

  • Assigned To set to Peter Amstutz

#11 Updated by Peter Amstutz 3 months ago

  • Target version changed from 2020-11-04 Sprint to 2020-11-18

#12 Updated by Peter Amstutz 2 months ago

  • Target version changed from 2020-11-18 to 2020-12-02 Sprint

#13 Updated by Peter Amstutz 2 months ago

  • Story points set to 2.0

#14 Updated by Peter Amstutz 2 months ago

  • Description updated (diff)

#15 Updated by Peter Amstutz 2 months ago

  • Assigned To deleted (Peter Amstutz)

#16 Updated by Peter Amstutz 2 months ago

  • Target version changed from 2020-12-02 Sprint to 2020-12-16 Sprint

#17 Updated by Peter Amstutz about 2 months ago

  • Target version changed from 2020-12-16 Sprint to 2021-01-06 Sprint

#18 Updated by Peter Amstutz about 1 month ago

  • Target version changed from 2021-01-06 Sprint to 2021-01-20 Sprint

#19 Updated by Peter Amstutz 13 days ago

  • Target version changed from 2021-01-20 Sprint to 2021-02-03 Sprint

Also available in: Atom PDF