issuer-port-fix

This commit is contained in:
Untone 2024-12-16 19:23:45 +03:00
parent aff0e8b1df
commit 3af4c1ac7a

View File

@ -25,7 +25,7 @@ async def check_auth(req):
host = req.headers.get('host', '') host = req.headers.get('host', '')
logger.debug(f"check_auth: host={host}") logger.debug(f"check_auth: host={host}")
auth_url = AUTH_URL 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" auth_url = "https://auth.dscrs.site/graphql"
user_id = "" user_id = ""
user_roles = [] user_roles = []