mod_http_oauth2: Advertise required registration of redirect URIs
authorKim Alvefur <zash@zash.se>
Sat, 29 Apr 2023 13:26:33 +0200
changeset 5390 6f13200c9fc1
parent 5389 544b92750a2a
child 5391 e3fc52b40064
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.
mod_http_oauth2/mod_http_oauth2.lua
--- 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;
 			};
 		};
 	};