add matrix authentication service incl migration #57 #58
Reference in New Issue
Block a user
No description provided.
Delete Branch "add-matrix-authentication-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey, I finished the matrix authentication service integration.
I tested it on our dev instance, including the migration from providing users via authentik oidc to the setup of
authentik->mas->synapsehaven't yet tested it in combination with bridges, though!
Migration helper script and docs are provided :)
I ran into various issues:
abra app cpcouldn't copy the rendered homeserver.yaml configmap from synapse to mas, so I had to usecatand pipe the outputmasneeds a rsa private key which abra can't generate:SECRET_MAS_SIGNING_RSA_VERSIONmasimage is rootless, makes many things a lot harder again, plus you need to init the database manuallysyn2mas-migrator is stricter onhomeserver.yamlparsing than synapse, so I needed to wrap the boolean configs set via .envmasrunning andsynapsestopped. Scaling down replicas via docker worked like a charm:docker service scale <STACK_NAME>_app=0abra app stopcommand to stop single apps utilizing this would be nice for those cases?the diff for the homeserver.yaml looks very big here, in my IDE it showed only the affected lines where I wrapped the booleans
QR code login is a whole different topic. more on that in the issue.
I did work with Cursor IDE on this, but doublechecked basically everything
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.