--- a/mod_http_oauth2/mod_http_oauth2.lua Sat Mar 11 21:11:50 2023 +0100
+++ b/mod_http_oauth2/mod_http_oauth2.lua Sat Mar 11 21:13:00 2023 +0100
@@ -552,7 +552,13 @@
local registration_schema = {
type = "object";
- required = { "client_name"; "redirect_uris" };
+ required = {
+ -- These are shown to users in the template
+ "client_name";
+ "client_uri";
+ -- We need at least one redirect URI for things to work
+ "redirect_uris";
+ };
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" } };