In the context of jetzt4 this was proposed as a solution to be able to invite to non-public rooms in the chaos.jetzt space via links.
Deployment needs the following:
Create a user using matrix-synapse-register_new_matrix_user:
register_new_matrix_user --no-admin -u joinlink_bot -p ... -c <path to config> (must be the binary in the package because it fails to load multiple configs)
Place the credentials in the secrets
Deploy with services.matrix-synapse.settings.password_config.enabled = true;
Required because only_for_reauth requires that users did authenticate previously (aka. with enabled = true;) with their password.
In the context of jetzt4 this was proposed as a solution to be able to invite to non-public rooms in the chaos.jetzt space via links.
Deployment needs the following:
matrix-synapse-register_new_matrix_user
:register_new_matrix_user --no-admin -u joinlink_bot -p ... -c <path to config>
(must be the binary in the package because it fails to load multiple configs)services.matrix-synapse.settings.password_config.enabled = true;
only_for_reauth
requires that users did authenticate previously (aka. withenabled = true;
) with their password.[...].enabled = "only_for_reauth";