Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix homeserver filling up with sessions #438

Open
Orange-Murker opened this issue Feb 19, 2024 · 1 comment
Open

Matrix homeserver filling up with sessions #438

Orange-Murker opened this issue Feb 19, 2024 · 1 comment

Comments

@Orange-Murker
Copy link

Right now creating a new Matrix sender will generate a new access token which also adds a new device to the user's account on the homeserver.

The issue is that given enough time, the homeserver will fill up with these unnecessary sessions and they are difficult to clean up because matrix clients get really slow when there are so many sessions to display and the only way would be to logout all sessions which is inconvenient.

Some potential solutions could be:

  • Add a way to log in using an access token instead of the login and the password to the matrix:// URL along with a mechanism to refresh them on a soft logout
  • Call POST /_matrix/client/v3/logout to invalidate the access token and remove the device from the account when the access token is no longer being used
@vincejv
Copy link

vincejv commented May 27, 2024

Add a way to log in using an access token instead of the login

image

This is already possible? https://containrrr.dev/shoutrrr/v0.8/services/matrix/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants