From e813859175e8ba2f7285ed001070d63816dd2cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 5 Jun 2024 12:58:42 +0200 Subject: [PATCH 1/3] Clarify that authentication is optional on /account/password and /account/deactivate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- data/api/client-server/registration.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/api/client-server/registration.yaml b/data/api/client-server/registration.yaml index afd304594..84aef5b12 100644 --- a/data/api/client-server/registration.yaml +++ b/data/api/client-server/registration.yaml @@ -387,6 +387,7 @@ paths: access token provided in the request. Whether other access tokens for the user are revoked depends on the request parameters. security: + - {} - accessTokenQuery: [] - accessTokenBearer: [] operationId: changePassword @@ -592,6 +593,7 @@ paths: parameter because the homeserver is expected to sign the request to the identity server instead. security: + - {} - accessTokenQuery: [] - accessTokenBearer: [] operationId: deactivateAccount From edb0597c6c407b2618faf7b68dd16dc3650b0a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 5 Jun 2024 13:02:38 +0200 Subject: [PATCH 2/3] Add changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- changelogs/client_server/newsfragments/1843.clarification | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/1843.clarification diff --git a/changelogs/client_server/newsfragments/1843.clarification b/changelogs/client_server/newsfragments/1843.clarification new file mode 100644 index 000000000..6e4d48468 --- /dev/null +++ b/changelogs/client_server/newsfragments/1843.clarification @@ -0,0 +1 @@ +Clarify that authentication is optional on the `POST /account/password` and `POST /account/deactivate` endpoints. \ No newline at end of file From f30fe14061cb24a32b09044a0a74b14e64200008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 18 Jun 2024 17:24:23 +0200 Subject: [PATCH 3/3] Update changelog Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- changelogs/client_server/newsfragments/1843.clarification | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/client_server/newsfragments/1843.clarification b/changelogs/client_server/newsfragments/1843.clarification index 6e4d48468..7ccfe4a71 100644 --- a/changelogs/client_server/newsfragments/1843.clarification +++ b/changelogs/client_server/newsfragments/1843.clarification @@ -1 +1 @@ -Clarify that authentication is optional on the `POST /account/password` and `POST /account/deactivate` endpoints. \ No newline at end of file +Clarify that an access token is optional on the `POST /account/password` and `POST /account/deactivate` endpoints. \ No newline at end of file