dendrite icon indicating copy to clipboard operation
dendrite copied to clipboard

Implement token-authenticated registration

Open S7evinK opened this issue 2 years ago • 7 comments

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

To generate tokens, we should use the same admin endpoints as Synapse, so existing tools to create tokens can be used for Dendrite as well.

S7evinK avatar Jun 01 '23 09:06 S7evinK

@S7evinK - I'd like to take this

santhoshivan23 avatar Jun 02 '23 15:06 santhoshivan23

@kegsay - I've started working on the draft PR. Pls assign this issue to me.

santhoshivan23 avatar Jun 03 '23 15:06 santhoshivan23

PR #3101 will track this issue

santhoshivan23 avatar Jun 03 '23 17:06 santhoshivan23

Implemented with #3101. This can be closed

santhoshivan23 avatar Jun 22 '23 16:06 santhoshivan23

Not yet, there is still the missing endpoint GET /_matrix/client/v1/register/m.login.registration_token/validity But that should be a quite short PR, given it is basically the GET /admin/registrationTokens/{token} endpoint.

Also, thank you for having implemented the admin endpoints! :)

S7evinK avatar Jun 28 '23 16:06 S7evinK

@S7evinK I'll implement the missing endpoint :)

adamjedrzejewski avatar Dec 25 '23 13:12 adamjedrzejewski

@S7evinK I'll implement the missing endpoint :)

hi, any update on the endpoint implementation?

DevSH01 avatar Jul 30 '24 06:07 DevSH01