I have an increasing number of refresh tokens, which I have to delete from time to time when they are older then one week.
From my point of view, that activity should not exist.
A refresh token will be deleted, when logging of from HA.
But some of my android apps like wallpanel and HA creates new tokens for every new logon as I configured a display user, where the header and menu button is hidden via CCH.
These apps will not explicitly logoff and so the old refresh token keeps in the list.
Displays, the family and myself have increased the number of these apps.
And none of them, even if the menu would be available, would tab on menu button, User, log off.
Last but not least I prefer to avoid giving everyone access to the side bar.
Solution approaches:
- Delete old unused refresh tokens after a certain time.
- Create a service which deletes old tokens. This could be used in an automation