From e6b3e7a9607c130be965f28eed0998adf2ddf6a0 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Tue, 10 Aug 2021 19:13:09 +0200 Subject: [PATCH] Add scopes as required field of OAuth Flow Object This makes metaschema consistent with the 3.0.x spec. Refs #2666 --- schemas/v3.0/schema.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/schemas/v3.0/schema.json b/schemas/v3.0/schema.json index 71808402f6..7e3551dcbb 100644 --- a/schemas/v3.0/schema.json +++ b/schemas/v3.0/schema.json @@ -1489,7 +1489,8 @@ "PasswordOAuthFlow": { "type": "object", "required": [ - "tokenUrl" + "tokenUrl", + "scopes" ], "properties": { "tokenUrl": { @@ -1516,7 +1517,8 @@ "ClientCredentialsFlow": { "type": "object", "required": [ - "tokenUrl" + "tokenUrl", + "scopes" ], "properties": { "tokenUrl": { @@ -1544,7 +1546,8 @@ "type": "object", "required": [ "authorizationUrl", - "tokenUrl" + "tokenUrl", + "scopes" ], "properties": { "authorizationUrl": {