server icon indicating copy to clipboard operation
server copied to clipboard

Automatically clean up old clients/tokens from WebUI?

Open 4oo4 opened this issue 6 years ago • 2 comments

Have you read the documentation?

  • [x] Yes, but it does not include related information regarding my question.
  • [ ] Yes, but the steps described in the documentation do not work on my machine.
  • [ ] Yes, but I am having difficulty understanding it and wants clarification.

You are setting up gotify in

  • [ ] Docker
  • [x] Linux native platform
  • [ ] Windows native platform

Describe your problem I was just curious if there are any plans to have the WebUI clean up old clients that are no longer in use, or perhaps reuse the same client? It's somewhat annoying to see a client created for each and every WebUI login, and from a security perspective I don't like that all these tokens are out there until I manually delete them all. Of course I can go in and delete them, though this is somewhat tedious and it would be really nice if there were a way to avoid this in the first place.

Cheers! Selection_002

4oo4 avatar Oct 27 '19 19:10 4oo4

Normally clients will be deleted on logout, otherwise you should stay logged in (when you allowed the usage of local storage). Client tokens could expire after some time of inactivity but that should be configurable and optional.

jmattheis avatar Oct 27 '19 20:10 jmattheis

OK yeah, that makes sense, I'm guessing that I forget to logout and just close the tab most of the time. Having that configurable would be awesome, thanks!

4oo4 avatar Oct 27 '19 20:10 4oo4