matrix / element user management
-
Hi,
A few question please.
Just installed matrix and element.Where do I manage users in matrix/element? When I installed it I picked 'manage via app not cloudron.
Where is the dashboard / backend?Also how do I stop 'open public registrations'?
Also is there matrix / element forum?
Many thanks
-
@terrygogo Element is a frontend and Synapse is the backend. Element will follow whatever authentication mechanism you setup in Synapse.
On Cloudron, when you install synapse, there are 2 ways to set it up:
-
Allow users from Cloudron - With this, external registration is disabled. Just add users to Cloudron and then can login to Element.
-
Let the app manage users - With this ,external registration is enabled by default. If you want to disable it later, you have to comment out
enable_registrationin the config - https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml#L1046
-
-
I am using the matrix app with cloudron user mangement. However, I would like to add some rather technical users (bots) that I do not want to add as "real" cloudron users.
I did this in synapse with:
/bin/matrix-synapse-register-user <path to homeserver.yaml> http://localhost:8008The user seems to be added correctly, but cannot login using e.g. riot. Does anybody know if it is not possible to add users manually?
-
I am using the matrix app with cloudron user mangement. However, I would like to add some rather technical users (bots) that I do not want to add as "real" cloudron users.
I did this in synapse with:
/bin/matrix-synapse-register-user <path to homeserver.yaml> http://localhost:8008The user seems to be added correctly, but cannot login using e.g. riot. Does anybody know if it is not possible to add users manually?
@stantropics did you figure this one out?
-
@stantropics did you figure this one out?
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.yamlas follows:
password_config: enabled: true localdb_enabled: truelocaldb_enabled is false by default. Change it to true and manually added users can login.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login