From 3af4c1ac7a16b58576ce81621919e92a31b8e58f Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 16 Dec 2024 19:23:45 +0300 Subject: [PATCH] issuer-port-fix --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index 21b02d98..c5f3b87b 100644 --- a/services/auth.py +++ b/services/auth.py @@ -25,7 +25,7 @@ async def check_auth(req): host = req.headers.get('host', '') logger.debug(f"check_auth: host={host}") auth_url = AUTH_URL - if host == 'testing.dscrs.site' or host == 'localhost': + if host == 'testing.dscrs.site' or host == 'localhost:3000': auth_url = "https://auth.dscrs.site/graphql" user_id = "" user_roles = []