element-hq / element-hq/dendrite

Implement token-authenticated registration

Open
#3,097 7 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted new-endpoints spec-compliance
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@S7evinK**](https://github.com/S7evinK) at .*

Spec version 1.2 introduced token-authenticated registration and a new client API endpoint (MSC3231), this is currently missing.

`GET /_matrix/client/v1/register/m.login.registration_token/validity` [spec](https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv1registermloginregistration_tokenvalidity)

To generate tokens, we should use the same [admin endpoints](https://github.com/matrix-org/synapse/blob/develop/synapse/rest/admin/registration_tokens.py) as Synapse, so existing tools to create tokens can be used for Dendrite as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.