Hi @girish, thanks for getting back to this. I have indeed figured out how to make this work.
Add a user as described before or use the synapse API:
@stantropics said in matrix / element user management:
/bin/matrix-synapse-register-user <path to homeserver.yaml> http://localhost:8008
If you are having problems setting a password I figured out it is not a good idea to manipulate the database, instead use the synapse API.
Until this point manually created users cannot login, you need to chage the config in homeserver.yaml as follows:
password_config:
enabled: true
localdb_enabled: true
localdb_enabled is false by default. Change it to true and manually added users can login.