tator
tator copied to clipboard
Session Extender logic in annotator view
Include a background process to refresh presigned URLs authentication such that they stay fresh. This would allow presigned URLs to have shorter expiration time.
Example:
- presigned url is valid for 1 hour
- Every 55 minutes the presigned urls are re-generated to extend the session
- The 5 minute overlap is to ensure old URLs still work for on-going transactions
Down the line thoughts:
- Could think about a modal for "Do you want to extend your session?".
It is also worth considering the use of presigned URLs in other Tator views (e.g. dashboards, analytics view). Whatever the solution / design direction is, should ideally consider and cover these other cases.
Could dovetail well with a zustand rework of the annotator/dashboard/analytics views.