The cause of this bug is that we don't really acknowledge that tokens
expire. So it's a bug in the plugin, not the server. A proposed fix is
to keep tokens and their associated expiry date so that the plugin can
know what tokens has expired and recreate them if necessary.

We could then reduce the complexity of the token retrieval code, since
we could just produce 5 minute tokens locally, and not do the token-
dance with the server.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620828

Title:
  unable to update apps (HttpError:401 - UNAUTHORIZED)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1620828/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to