Require access_token, device_id and user_id fields in /login response

This commit is contained in:
Andrew Morgan 2022-08-12 14:39:29 +01:00
parent 1930824898
commit 4937b50b9b

View file

@ -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.