Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Allow HS to send emails when adding an email to the HS#6042

Merged
anoadragon453 merged 47 commits into
developfrom
anoa/account_3pid_homeserver_send_email
Sep 20, 2019
Merged

Allow HS to send emails when adding an email to the HS#6042
anoadragon453 merged 47 commits into
developfrom
anoa/account_3pid_homeserver_send_email

Conversation

@anoadragon453
Copy link
Copy Markdown
Member

@anoadragon453 anoadragon453 commented Sep 16, 2019

Changes the /account/3pid/email|msisdn/requestToken endpoints to use account_threepid_handler, similar to the other /requestToken endpoints.

First part of implementing MSC2290. The second part will be creating the new endpoints specified in the MSC.

I needed to use a feature branch here as for the flow to work POST /account/3pid needs to allow the homeserver to handle adding an email address to an account, which is what MSC2290 talks about anyways.

So in the interest of having a single PR to handle MSC2290, let this PR serve as the precursor to that. It will land in a feature branch, then another PR to implement MSC2290 will also land in that feature branch. And then we can merge everything into develop :)

This PR can be merged into develop. It will break users using old matrix clients trying to bind 3pids to identity servers but we accept this risk as practically known clients (i.e. Riot) wouldn't inform the user this was happening anyways.

Requires #6067

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

z-privacy-sprint (Deprecated Label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants