Page MenuHomeSoftware Heritage

Improve handling of expired authentication tokens
Closed, MigratedEdits Locked

Description

Authentication tokens for the Web API expire after 30 days of inactivity so:

  • Documentation about that fact should be added.
  • Error message returned by the Web API should be more explicit, something like Offline token expired after 30 days of inactivity; please create a new one..
  • Expired tokens stored encrypted in swh-web database should be removed when a user browses the tokens Web UI.

Event Timeline

anlambert triaged this task as Normal priority.Mar 12 2021, 3:17 PM
anlambert created this task.
anlambert claimed this task.

This is now deployed to production.