Skip to content

Commit

Permalink
Log all headers
Browse files Browse the repository at this point in the history
  • Loading branch information
FracassandoCasualmente committed Oct 26, 2023
1 parent 8b519fb commit 7fdc1df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon/request/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ async def wrapper(request:Request):

authenticated=False

LOG.debug(f"Headers = {request.headers}")

access_token_header = request.headers.get('Authorization')
access_token_cookies = request.cookies.get("Authorization")
LOG.debug(f"Access token header = {access_token_header}")
Expand Down

0 comments on commit 7fdc1df

Please sign in to comment.