From bf34755778a82927f0dd91918d75409eb1fbf5ea Mon Sep 17 00:00:00 2001 From: Tobias Dierich Date: Wed, 20 Sep 2023 09:17:51 +0200 Subject: [PATCH] Add more debug logs for oidc --- src/spz/oidc/oid_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spz/oidc/oid_handler.py b/src/spz/oidc/oid_handler.py index 1772ae1..bd9c934 100644 --- a/src/spz/oidc/oid_handler.py +++ b/src/spz/oidc/oid_handler.py @@ -148,7 +148,7 @@ def get_access_token(self, code, code_verifier, redirect_uri): print("Fetch Token request status code: {}".format(token_response.status_code)) # write error message to logs, if request is not successful if not token_response.status_code == 200: - print("Message received: {}".format(token_response.text)) + print("Message received: {}, Request payload: {}".format(token_response.text, json.dumps(data))) return token_response.json() def request_data(self, access_token):