From bb47f08ee7f21928461c295fc44fd7585a0cfb4a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Wed, 25 May 2022 12:27:30 +0200 Subject: [PATCH] Remove broken "token-based" link (#1081) This used to link to a section in the UIA docs (https://matrix.org/docs/spec/client_server/r0.6.1#token-based), but that was removed in 7c6636a5. --- changelogs/client_server/newsfragments/1081.clarification | 1 + content/client-server-api/_index.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/client_server/newsfragments/1081.clarification diff --git a/changelogs/client_server/newsfragments/1081.clarification b/changelogs/client_server/newsfragments/1081.clarification new file mode 100644 index 00000000..3ccb2333 --- /dev/null +++ b/changelogs/client_server/newsfragments/1081.clarification @@ -0,0 +1 @@ +Fix various typos throughout the specification. diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index 3edb5b16..da19a7de 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -1056,8 +1056,8 @@ as follows: } ``` -As with [token-based]() interactive login, the `token` must encode the -user ID. In the case that the token is not valid, the homeserver must +The `token` must encode the user ID, since there is no other identifying +data in the request. In the case that the token is not valid, the homeserver must respond with `403 Forbidden` and an error code of `M_FORBIDDEN`. If the homeserver advertises `m.login.sso` as a viable flow, and the