Creating user accounts
Create accounts with the create-account tool or the shared secret registration endpoint.
From the command line
Section titled “From the command line”Building Zendrite puts the create-account tool in the bin folder.
The tool reads zendrite.yaml to connect to a running Zendrite instance.
It needs shared secret registration enabled.
Create a normal account:
The tool prompts you for the new account’s password.
Add the -admin flag to create an admin account:
create-account connects to http://localhost:8008 by default.
Set a different address with the -url flag:
In Docker, find the CONTAINERNAME with docker ps, then run the tool inside the container:
Using shared secret registration
Section titled “Using shared secret registration”Zendrite supports the Synapse-compatible shared secret registration endpoint.
Enable it by setting a secret in the registration_shared_secret field of the client_api section in zendrite.yaml:
Then call the /_synapse/admin/v1/register endpoint as described in the Synapse documentation.
The endpoint stays disabled until you set a secret. Remove the secret from the config to disable it again.