Changeset

5377:ca477408f90b

mod_http_oauth2: Fix misplaced 'default' on wrong side of } in client registration schema
author Kim Alvefur <zash@zash.se>
date Thu, 27 Apr 2023 19:14:23 +0200
parents 5376:ad6e9b0fd15b
children 5378:6155c46d9eea
files mod_http_oauth2/mod_http_oauth2.lua
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Thu Apr 27 16:58:48 2023 +0100
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Thu Apr 27 19:14:23 2023 +0200
@@ -640,7 +640,11 @@
 	};
 	properties = {
 		redirect_uris = { type = "array"; minLength = 1; items = { type = "string"; format = "uri" } };
-		token_endpoint_auth_method = { type = "string"; enum = { "none"; "client_secret_post"; "client_secret_basic"; default = "client_secret_basic" } };
+		token_endpoint_auth_method = {
+			type = "string";
+			enum = { "none"; "client_secret_post"; "client_secret_basic" };
+			default = "client_secret_basic";
+		};
 		grant_types = {
 			type = "array";
 			items = {