Is there a database i can delete to delete more then 1k refresh tokens?

so i cant manually delete more then 1000 fresh tokens

is there a database i can just delete? is there an app the does it?

as i run multiple instances of my home assistant on my computer so they always running… and i usually click the button keep me loged in always… but its getting out of hand… all these tokens

any good way to erase them

1 Like

Me too. Did you discover anything?

nothing so far… i figure i have maybe 2000 tokens i cant delete

would be nice a select all and then press delete but so far nothing i probably ask for a feature request to bulk delete them

i was wondering if there is a fix yet to mass delete tokens? i think maybe up to 2500 tokens going back a couple years now… id like to mass delete it… does the latest version of home assistant have something? or a database i can simply just delete?

Why on Earth do you have so many?

everytime you type in
“homeassistant” or like 192.168.0.x and either it auto logins or you enter your login and password it creates another token

so if i have say 3 home assistants open if i doing something
well it creates 3 additional tokens…

so i try to do the click garbage can and hit enter… but it takes forever to do that

im guessing to only get rid of the tokens normally is to log out each session… but who does that i just load it and click X on the browswer to close it… but it is always creating a new token… if i go from computer or cell phone… and then re creates a new one just adds up

i just wanna mass delete them all… even when i changed IP address it still has the old ip address as a token. from a year ago… i just wanna mass delete… a Delete All

cuz i never click logout… i just close it and reload it when i need it etc… maybe a feature when you close browser… it logouts the refresh token

and if you go back and forth from IP to home assistant name

so
192.168.0.2 = homeassistant

thats 2 tokens
192.168.0.2 is a token
homeassistant is another token

yet are the same address so your computer would have 2 tokens for homeassistant…

so i was hoping a mass delete or an expring date of like 5 days maybe

also if you change your IP on your computer… and use home assistant… well you just created a new token… also if you clear your browser cache… and you relogin to home assistant… well you created a new token so it adds up