Skip to content

Implement Token Authenticated Registration flow (m.login.registration_token) in Element #18931

@anoadragon453

Description

@anoadragon453

Description

This issue requests the implementation of Token Authenticated Registration (TAR) in Element Web, such that a token can be provided to the homeserver as part of the sign up flow.

What is Token Authenticated Registration?

As detailed in MSC3231, TAR allows homeserver admins to generate "registration tokens" to distribute to trusted friends and family in order to allow them to register an account.

A new User-Interactive Authentication stage, m.login.registration_token, allows clients to present a token to the homeserver in order to successfully complete registration.

An existing implementation of this feature exists in the nheko Matrix client: mtxclient library PR, nheko UI PR.

Equivalent PRs for Element Web would need to be made in matrix-js-sdk at the base layer, whereas the UI bits would live in the matrix-react-sdk and possibly element-web codebases.

Note that with all feature changes, you should expect to converse and receive sign-off from Element Web's UI/UX designers on this task for the user-interface portion of the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RegistrationO-UncommonMost users are unlikely to come across this or unexpected workflowT-EnhancementX-Needs-ProductMore input needed from the Product team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions