Changeset

6292:28fd42866be9

mod_http_oauth2: Add comment referencing RFC 8176 Took a while to recall where this was defined.
author Kim Alvefur <zash@zash.se>
date Sat, 07 Jun 2025 22:13:41 +0200
parents 6291:7cf1fcac9b94
children 6293:021b2686c19b
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 Jun 07 22:02:18 2025 +0200
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Sat Jun 07 22:13:41 2025 +0200
@@ -1035,7 +1035,7 @@
 		aud = params.client_id;
 		auth_time = auth_state.user.iat;
 		nonce = params.nonce;
-		amr = auth_state.user.amr;
+		amr = auth_state.user.amr; -- RFC 8176: Authentication Method Reference Values
 	});
 	local ret = response_handler(client, params, user_jid, id_token);
 	if errors.is_err(ret) then