From af7cc6e19467784316391b8c2c16d7bc806c1269 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Mon, 23 Oct 2023 15:46:53 +0200 Subject: [PATCH] better logging for jwsd debugging --- src/auth_server/proof/jws.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth_server/proof/jws.py b/src/auth_server/proof/jws.py index 350598a..f5fcd2a 100644 --- a/src/auth_server/proof/jws.py +++ b/src/auth_server/proof/jws.py @@ -128,6 +128,7 @@ async def check_jwsd_proof( else: payload = base64url_encode(gnap_request_orig.json(exclude_unset=True)) + logger.debug(f"gnap_request_orig: {gnap_request_orig.json(exclude_unset=True)}") raw_jws = f"{header}.{payload}.{signature}" _jws = jws.JWS()