authorizer-connector-fix-7
All checks were successful
deploy / deploy (push) Successful in 1m42s

This commit is contained in:
Untone 2023-12-12 08:00:46 +03:00
parent 3b7b47599c
commit 954c3740cd

View File

@ -6,6 +6,7 @@ from settings import AUTH_URL
async def check_auth(req):
token = req.headers.get("Authorization")
if token:
print(f"[services.auth] checking auth token: {token}")
headers = {"Authorization": "Bearer " + token, "Content-Type": "application/json"}