# HG changeset patch # User Kim Alvefur # Date 1684263417 -7200 # Node ID 7dc429b7c3f35fe908ec606f0541d4874d8d061c # Parent b071d8ee65551b350c0722a97ae73ae99d3ef87f mod_http_oauth2: Fix schema to enforce at least one redirect URI minLength is for strings diff -r b071d8ee6555 -r 7dc429b7c3f3 mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Fri May 12 11:58:20 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Tue May 16 20:56:57 2023 +0200 @@ -754,7 +754,7 @@ "redirect_uris"; }; properties = { - redirect_uris = { type = "array"; minLength = 1; items = { type = "string"; format = "uri" } }; + redirect_uris = { type = "array"; minItems = 1; items = { type = "string"; format = "uri" } }; token_endpoint_auth_method = { type = "string"; enum = { "none"; "client_secret_post"; "client_secret_basic" };