Diff

mod_http_oauth2/mod_http_oauth2.lua @ 5386:6f13200c9fc1

mod_http_oauth2: Advertise required registration of redirect URIs Specified in OpenID Connect Discovery 1.0 Seems important to be aware of when registering a client.
author Kim Alvefur <zash@zash.se>
date Sat, 29 Apr 2023 13:26:33 +0200
parent 5385:544b92750a2a
child 5388:832c515b1650
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Sat Apr 29 13:23:30 2023 +0200
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Sat Apr 29 13:26:33 2023 +0200
@@ -953,6 +953,7 @@
 
 				-- OpenID
 				userinfo_endpoint = handle_register_request and module:http_url() .. "/userinfo" or nil;
+				require_request_uri_registration = true;
 			};
 		};
 	};