# HG changeset patch # User Kim Alvefur # Date 1682435772 -7200 # Node ID 0444953e3247faa2811e6c66c881206a3a478740 # Parent 893b9c3c0d204dfee3d0741bd94084468d0355f8 mod_http_oauth2: Normalize whitespace in client metadata schema Random extra whitespace? diff -r 893b9c3c0d20 -r 0444953e3247 mod_http_oauth2/mod_http_oauth2.lua --- a/mod_http_oauth2/mod_http_oauth2.lua Mon Apr 24 17:11:08 2023 +0100 +++ b/mod_http_oauth2/mod_http_oauth2.lua Tue Apr 25 17:16:12 2023 +0200 @@ -659,18 +659,18 @@ response_types = { type = "array"; items = { type = "string"; enum = { "code"; "token" } } }; client_name = { type = "string" }; client_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; - logo_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; + logo_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; scope = { type = "string" }; contacts = { type = "array"; items = { type = "string" } }; - tos_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; - policy_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; - jwks_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; + tos_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; + policy_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; + jwks_uri = { type = "string"; format = "uri"; luaPattern = "^https:" }; jwks = { type = "object"; description = "JSON Web Key Set, RFC 7517" }; software_id = { type = "string"; format = "uuid" }; software_version = { type = "string" }; }; -- Localized versions of descriptive properties and URIs - luaPatternProperties = { ["^[a-z_]+_uri#"] = { type = "string"; format = "uri"; luaPattern = "^https:" } }; + luaPatternProperties = { ["^[a-z_]+_uri#"] = { type = "string"; format = "uri"; luaPattern = "^https:" } }; additionalProperties = { type = "string" }; }