Comparison

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
comparison
equal deleted inserted replaced
5376:ad6e9b0fd15b 5377:ca477408f90b
638 -- We need at least one redirect URI for things to work 638 -- We need at least one redirect URI for things to work
639 "redirect_uris"; 639 "redirect_uris";
640 }; 640 };
641 properties = { 641 properties = {
642 redirect_uris = { type = "array"; minLength = 1; items = { type = "string"; format = "uri" } }; 642 redirect_uris = { type = "array"; minLength = 1; items = { type = "string"; format = "uri" } };
643 token_endpoint_auth_method = { type = "string"; enum = { "none"; "client_secret_post"; "client_secret_basic"; default = "client_secret_basic" } }; 643 token_endpoint_auth_method = {
644 type = "string";
645 enum = { "none"; "client_secret_post"; "client_secret_basic" };
646 default = "client_secret_basic";
647 };
644 grant_types = { 648 grant_types = {
645 type = "array"; 649 type = "array";
646 items = { 650 items = {
647 type = "string"; 651 type = "string";
648 enum = { 652 enum = {