Changeset

5822:c75328aeaba3

mod_http_oauth2: Reduce log level for error delivery via redirect This is supposed to be normal in OAuth2, not really deserving a warning log message.
author Kim Alvefur <zash@zash.se>
date Sat, 23 Dec 2023 00:06:35 +0100
parents 5821:fdf3056021dc
children 5823:8566a423da88
files mod_http_oauth2/mod_http_oauth2.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua	Sat Dec 23 00:01:30 2023 +0100
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Sat Dec 23 00:06:35 2023 +0100
@@ -765,7 +765,7 @@
 	redirect_uri = redirect_uri
 		.. sep .. http.formencode(err.extra.oauth2_response)
 		.. "&" .. http.formencode({ state = q.state, iss = get_issuer() });
-	module:log("warn", "Sending error response to client via redirect to %s", redirect_uri);
+	module:log("debug", "Sending error response to client via redirect to %s", redirect_uri);
 	return {
 		status_code = 303;
 		headers = {