Skip to content

Commit d9aae98

Browse files
committed
Figure out key 😓
1 parent 80691d8 commit d9aae98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/core/security.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ async def verify_token(request: Request, credentials: Optional[HTTPAuthorization
155155
user["email_verified"] = True
156156
else:
157157
print("Credentials supplied, decoding token: ", credentials)
158+
print(settings.SECRET_KEY) # TODO: REMOVE THIS AGAIN!
158159
decoded = jwt.decode(credentials.credentials, settings.SECRET_KEY, algorithms=["HS256"])
159160
# Check if token is API key
160161
if decoded.get("token_type") == "api_key":

0 commit comments

Comments
 (0)