mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Specify that appservice login and register fail on incorrect as_tokens
Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
parent
9068c336f4
commit
dd8d10a9a3
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify that the `/login` and `/register` endpoints should fail when using the `m.login.application_service` login type without a valid `as_token`.
|
||||||
|
|
@ -436,6 +436,10 @@ an application service-defined namespace will receive the same
|
||||||
`M_EXCLUSIVE` error code, but only if the application service has
|
`M_EXCLUSIVE` error code, but only if the application service has
|
||||||
defined the namespace as `exclusive`.
|
defined the namespace as `exclusive`.
|
||||||
|
|
||||||
|
If either endpoint is called with the `m.login.application_service` login type,
|
||||||
|
but without a valid `as_token`, the endpoints will return `M_MISSING_TOKEN` or
|
||||||
|
`M_UNKNOWN_TOKEN`.
|
||||||
|
|
||||||
#### Pinging
|
#### Pinging
|
||||||
|
|
||||||
{{% added-in v="1.7" %}}
|
{{% added-in v="1.7" %}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue