moan0s / matrix-registration-bot

A bot that is used to create and manage registration tokens for a matrix server
GNU Affero General Public License v3.0
64 stars 10 forks source link

Fetch API token with user/password #30

Closed moan0s closed 1 year ago

moan0s commented 1 year ago

As the bot now supports password-based login we could also move away from using access tokens at all. This would mean that the bot must be an admin user (security relevant) but also make it easier to deploy (see https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2723).

the bot could then use either the access token it uses for messaging or an access token obtained for this purpose to interact with the admin API

moan0s commented 1 year ago

Done with f33b2d8f2ed8cc962bb6bd82b2136b1bf0845fe3