This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
When submitting a wrong token to validate a phone number the error is not correct #8218
Labels
A-3PID
3rd party identifiers: e.g. email, phone number
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
When adding a phone number to an account, the user receive a
submit_url
in the response, and also a text message on the phone with a token composed by 6 digits.When submitting a wrong token with
The user receive an error 400 with the following body:
The
errcode
should be more specific for instance "M_INVALID_TOKEN" (see matrix-org/sydent#292) and theerror
value is really confusing, because there is no identity server at all on the loop.The text was updated successfully, but these errors were encountered: