From e4a9bfa08bd45c3e1560cf09c4496fbc74bceedf Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 16 Dec 2024 19:06:47 +0300 Subject: [PATCH] authdev2 --- services/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/auth.py b/services/auth.py index 8c501f4a..21b02d98 100644 --- a/services/auth.py +++ b/services/auth.py @@ -23,6 +23,7 @@ async def check_auth(req): """ token = req.headers.get("Authorization") host = req.headers.get('host', '') + logger.debug(f"check_auth: host={host}") auth_url = AUTH_URL if host == 'testing.dscrs.site' or host == 'localhost': auth_url = "https://auth.dscrs.site/graphql"