Diff

mod_http_oauth2/mod_http_oauth2.lua @ 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
parent 5375:8b7d97f0ae8a
child 5378:6155c46d9eea
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 = {