diff --git a/backend/schema/paths/tokens/post.json b/backend/schema/paths/tokens/post.json index dece6b65..76ed48da 100644 --- a/backend/schema/paths/tokens/post.json +++ b/backend/schema/paths/tokens/post.json @@ -14,14 +14,16 @@ "minLength": 1, "type": "string" }, - "scope": { - "minLength": 1, - "type": "string", - "enum": ["user"] - }, "secret": { "minLength": 1, "type": "string" + }, + "expires": { + "type": "string" + }, + "scope": { + "type": "string", + "enum": ["user"] } }, "required": ["identity", "secret"],