mod_http_oauth2/mod_http_oauth2.lua
changeset 5413 993f28798c75
parent 5412 3989c57cc551
child 5420 2393dbae51ed
--- a/mod_http_oauth2/mod_http_oauth2.lua	Tue May 02 17:01:02 2023 +0200
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Tue May 02 17:04:19 2023 +0200
@@ -988,6 +988,7 @@
 				grant_types_supported = array(it.keys(response_type_handlers)):map(tmap { token = "implicit"; code = "authorization_code" });
 				response_modes_supported = array(it.keys(response_type_handlers)):map(tmap { token = "fragment"; code = "query" });
 				authorization_response_iss_parameter_supported = true;
+				service_documentation = module:get_option_string("oauth2_service_documentation", "https://modules.prosody.im/mod_http_oauth2.html");
 
 				-- OpenID
 				userinfo_endpoint = handle_register_request and module:http_url() .. "/userinfo" or nil;