debug-response-3
All checks were successful
deploy / deploy (push) Successful in 1m34s

This commit is contained in:
Untone 2023-12-13 21:33:23 +03:00
parent d1447d3c05
commit c68900babf

View File

@ -10,7 +10,7 @@ async def check_auth(req):
print(f"[services.auth] checking auth token: {token}") print(f"[services.auth] checking auth token: {token}")
gql = { 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}}, "variables": {"params": {"token_type": "access_token", "token": token}},
} }