matrix-org / gomatrix

A Golang Matrix client
Apache License 2.0
285 stars 53 forks source link

Add /_synapse/admin/v1/register #101

Closed lil5 closed 7 months ago

lil5 commented 7 months ago

Here is a zip with the files to add SharedSecretRegistration as defined by https://matrix-org.github.io/synapse/latest/admin_api/register_api.html

This API allows for the creation of users in an administrative and non-interactive way. This is generally used for bootstrapping a Synapse instance with administrator accounts.

To authenticate yourself to the server, you will need both the shared secret (registration_shared_secret in the homeserver configuration), and a one-time nonce. If the registration shared secret is not configured, this API is not enabled.

gomatrixplus.zip

lil5 commented 7 months ago

If you like what you see I'd be able to add this to this project and create a PR

lil5 commented 7 months ago

This project is dead closing too keep dead