Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tianj7 committed Sep 27, 2023
1 parent 676ca16 commit ad67747
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fence/blueprints/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ def get_token(*args, **kwargs):
See the OpenAPI documentation for detailed specification, and the OAuth2
tests for examples of some operation and correct behavior.
"""
logger.debug(flask.request.__dict__)
logger.debug(flask.request.form["grant_type"])
logger.debug(flask.request.__dict__)
for key in flask.request.values.keys():
logger.debug(key + " : " + flask.request.values[key])

try:
# Delete after testing temporary logs
request = server.create_oauth2_request(None)
Expand Down

0 comments on commit ad67747

Please sign in to comment.