Mercurial > prosody-modules
comparison mod_http_oauth2/mod_http_oauth2.lua @ 5355:41a418ebc60b
mod_http_oauth2: Enforce https requirement on TOS URI
In create_client() it validates that all fields with format=uri are
https and match the client_uri host.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Apr 2023 12:02:01 +0200 |
parents | 39d59d857bfb |
children | 959dc350f2ad |
comparison
equal
deleted
inserted
replaced
5354:39d59d857bfb | 5355:41a418ebc60b |
---|---|
660 client_name = { type = "string" }; | 660 client_name = { type = "string" }; |
661 client_uri = { type = "string"; format = "uri" }; | 661 client_uri = { type = "string"; format = "uri" }; |
662 logo_uri = { type = "string"; format = "uri" }; | 662 logo_uri = { type = "string"; format = "uri" }; |
663 scope = { type = "string" }; | 663 scope = { type = "string" }; |
664 contacts = { type = "array"; items = { type = "string" } }; | 664 contacts = { type = "array"; items = { type = "string" } }; |
665 tos_uri = { type = "string" }; | 665 tos_uri = { type = "string"; format = "uri" }; |
666 policy_uri = { type = "string"; format = "uri" }; | 666 policy_uri = { type = "string"; format = "uri" }; |
667 jwks_uri = { type = "string"; format = "uri" }; | 667 jwks_uri = { type = "string"; format = "uri" }; |
668 jwks = { type = "object"; description = "JSON Web Key Set, RFC 7517" }; | 668 jwks = { type = "object"; description = "JSON Web Key Set, RFC 7517" }; |
669 software_id = { type = "string"; format = "uuid" }; | 669 software_id = { type = "string"; format = "uuid" }; |
670 software_version = { type = "string" }; | 670 software_version = { type = "string" }; |