From 2de2d7d3a9dca81ec8d23be770530724662e0663 Mon Sep 17 00:00:00 2001 From: Mingfei Shao Date: Mon, 19 Aug 2024 16:31:33 -0500 Subject: [PATCH] print --- wts/resources/oauth2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wts/resources/oauth2.py b/wts/resources/oauth2.py index e20f331..b916ceb 100644 --- a/wts/resources/oauth2.py +++ b/wts/resources/oauth2.py @@ -30,7 +30,7 @@ def client_do_authorize(): raise AuthError("could not authorize; state did not match across auth requests") try: flask.current_app.logger.warning(f"token url: {token_url}") - flask.current_app.logger.warning(**flask.request.args.to_dict()) + print(**flask.request.args.to_dict()) tokens = client.fetch_token(token_url, **flask.request.args.to_dict()) refresh_refresh_token(tokens, requested_idp, username_field) except KeyError as e: