From c68900babfcf0ea09bd56142d7725d3fff8b93ea Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 13 Dec 2023 21:33:23 +0300 Subject: [PATCH] debug-response-3 --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index 1596ad51..7073185e 100644 --- a/services/auth.py +++ b/services/auth.py @@ -10,7 +10,7 @@ async def check_auth(req): print(f"[services.auth] checking auth token: {token}") gql = { - "query": "query { validate_jwt_token( params: ValidateJWTTokenInput!) { is_valid claims } }", + "query": "query ValidateToken($params: ValidateJWTTokenInput!) { validate_jwt_token( params: $params) { is_valid claims } }", "variables": {"params": {"token_type": "access_token", "token": token}}, }