Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send validation tokens to submit_url from HS #2731

Closed
jryans opened this issue Sep 20, 2019 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#728
Closed

Send validation tokens to submit_url from HS #2731

jryans opened this issue Sep 20, 2019 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#728
Assignees
Labels
feature privacy privacy-sprint T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements

Comments

@jryans
Copy link
Contributor

jryans commented Sep 20, 2019

Cloned from element-hq/element-web#10923

As part of MSC2078, requestToken calls to the HS (during registration, add to HS account, password reset) may return a submit_url field which should be used if present as the place to send validation tokens.

Per spec this could happen for both email and MSISDNs, but at this stage Synapse only intends to use it with MSISDNs.

If submit_url is present, clients should ask the user for the validation token and submit it to the supplied URL, structuring parameters in the same way as the IS POST /validate/email/submitToken API. (You should assume it's a v1-style endpoint without authentication.)

Synapse work tracked in matrix-org/synapse#6076.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature privacy privacy-sprint T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants