Skip to content

Commit

Permalink
Add more debug logs for oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdierich committed Sep 20, 2023
1 parent 8044f4a commit bf34755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spz/oidc/oid_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bf34755

Please sign in to comment.