Software /
code /
prosody-modules
Diff
mod_http_oauth2/mod_http_oauth2.lua @ 5364:0444953e3247
mod_http_oauth2: Normalize whitespace in client metadata schema
Random extra whitespace?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 Apr 2023 17:16:12 +0200 |
parent | 5359:230fc6a0c086 |
child | 5365:698fef74ce53 |
line wrap: on
line diff
--- 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" }; }