-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Clarify that an access token is optional on /account/password
and /account/deactivate
#1843
Conversation
…ount/deactivate Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Looking at the synapse code, |
From what I can tell both Dendrite and Conduit seem to require authentication for both endpoints. |
It took me quite a while to grok what was going on here. Clearly, both endpoints require authentication of some form -- anything else would be anarchy where people go around changing other peoples' passwords -- so the phrasing of the PR is a bit confusing. So, for the record: both endpoints require authentication via UIA. The question at stake is whether they also need an |
Doing some archaeology:
My impression is that a server could implement In short: LGTM |
In that case, should we consider that the phrasing of the spec is also confusing? Do we need to change "Requires Authentication" to "Requires Access Token"? |
Co-authored-by: Richard van der Hoff <[email protected]>
/account/password
and /account/deactivate
/account/password
and /account/deactivate
I think something like that would be good, yes. Not sure exactly what words to use though. |
The descriptions of the endpoints clearly state that the access token is not required, but it also says:
This changes it to show:
Fixes #1807.
Pull Request Checklist
Preview: https://pr1843--matrix-spec-previews.netlify.app