Skip to content

Commit

Permalink
Require access_token, device_id and user_id fields in /login
Browse files Browse the repository at this point in the history
…response (matrix-org#1210)
  • Loading branch information
anoadragon453 authored Aug 16, 2022
1 parent 1930824 commit 5572d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1210.clarification
Original file line number Diff line number Diff line change
@@ -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`.
1 change: 1 addition & 0 deletions data/api/client-server/login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5572d33

Please sign in to comment.