Changeset

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
parents 5385:544b92750a2a
children 5387:e3fc52b40064
files mod_http_oauth2/mod_http_oauth2.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 			};
 		};
 	};