You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I support this provided we preserve support for the existing auth method also.
Access tokens in Matrix may be configured to have a limited lifetime (eg 7 days), so there's a use case for bots being authenticated via password at startup, and using the generated access token to remain connected for the length of that session. Users can then refresh the token by restarting the bot, which regenerates a new token using the password. Happy to consider a PR that adds token-based auth while preserving password-based auth.
xurizaemon
changed the title
Should take the bot's access token, not password
Support token-based authentication alongside password-based auth
Aug 1, 2021
The access token should be retrieved beforehand rather than saving the password for the bot.
The text was updated successfully, but these errors were encountered: