Invalidate previous tokens if refresh token mode is enabled #23027
Labels
area/che-server
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P1
Has a major impact to usage or development of the system.
Is your enhancement related to a problem? Please describe
If the refresh token mode is enabled, we generate a new token on each workspace start / restart, but we do nothing with previous tokens. This may cause to a long list of tokens in the user preferences page.
Describe the solution you'd like
When generating a new token on top of the existed one, delete the old token, even if it is not expired.
Describe alternatives you've considered
No response
Additional context
see #23005
The text was updated successfully, but these errors were encountered: