mod_http_oauth2: Fix misplaced 'default' on wrong side of } in client registration schema
authorKim Alvefur <zash@zash.se>
Thu, 27 Apr 2023 19:14:23 +0200
changeset 5381 ca477408f90b
parent 5380 ad6e9b0fd15b
child 5382 6155c46d9eea
mod_http_oauth2: Fix misplaced 'default' on wrong side of } in client registration schema
mod_http_oauth2/mod_http_oauth2.lua
--- 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 = {