vantage6 refresh tokens do not expire
Description
Published to the GitHub Advisory Database
Feb 28, 2023
Reviewed
Feb 28, 2023
Published by the National Vulnerability Database
Mar 4, 2023
Last updated
Nov 18, 2024
From issue:
Problem description
Currently, the refresh token is valid indefinitely. This is bad security practice.
Desired solution
The refresh token should get a validity of 24-48 hours.
Additional context
When implementing this, also check that the refresh token returns a new refresh token
When implementing this, also adapt the UI so that it logs out if refresh token is no longer valid.
When implementing this, ensure that nodes refresh their token periodically so that they do not have to be restarted manually.
Impact
Patches
None available
Workarounds
None available
References