mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 00:48:38 +01:00
Require access_token, device_id and user_id fields in /login response (#1210)
This commit is contained in:
parent
1930824898
commit
5572d33453
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify that the "device_id", "user_id" and "access_token" fields are required in the response body of `POST /_matrix/client/v3/login`.
|
||||||
|
|
@ -210,6 +210,7 @@ paths:
|
||||||
form as the one returned from .well-known autodiscovery.
|
form as the one returned from .well-known autodiscovery.
|
||||||
allOf:
|
allOf:
|
||||||
- "$ref": "definitions/wellknown/full.yaml"
|
- "$ref": "definitions/wellknown/full.yaml"
|
||||||
|
required: ["access_token", "device_id", "user_id"]
|
||||||
400:
|
400:
|
||||||
description: |-
|
description: |-
|
||||||
Part of the request was invalid. For example, the login type may not be recognised.
|
Part of the request was invalid. For example, the login type may not be recognised.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue