fedora-infra / maubot-pretix-invite

A maubot plugin for inviting event participants from the pretix ticketing platform into a matrix room
MIT License
2 stars 0 forks source link

migrate to per-organizer token storage #14

Open MoralCode opened 5 months ago

MoralCode commented 5 months ago

because the pretix auth credentials (acquired through oauth) are really only valid for one organizer's events, this should be stored in a per-organizer way so that the bot is able to handle multi-tenency - i.e. one central bot instance being able to handle events from multiple orgs on pretix

(not sure if this is a usecase that is needed by fedora, but its possibly valid)

MoralCode commented 3 weeks ago

possibly could be done with a structure like described in #19

also need to figure out how this could work across instances since the bot gets/needs a different client ID for each instance.