Require `access_token`, `device_id` and `user_id` fields in `/login` response (#1210)

pull/1215/head
Andrew Morgan 2 years ago committed by GitHub
parent 1930824898
commit 5572d33453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.
allOf:
- "$ref": "definitions/wellknown/full.yaml"
required: ["access_token", "device_id", "user_id"]
400:
description: |-
Part of the request was invalid. For example, the login type may not be recognised.

Loading…
Cancel
Save