Skip to content

Commit 752b703

Browse files
Update firetail/auditor.py
1 parent 7db032d commit 752b703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firetail/auditor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ def clean_pii(self, payload):
105105
oauth = False
106106
auth_token = None
107107

108-
if auth_header := request.headers.get("Authorization"):
108+
if auth_header := request.headers.get("Authorization", request.headers.get("authorization")):
109+
109110
if "bearer " in auth_header.lower():
110111
oauth = True
111112
auth_token = auth_header.split(" ")[1] if " " in auth_header else None

0 commit comments

Comments
 (0)