aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_quic_transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_quic_transport.py')
-rw-r--r--packages/meshbay-node/tests/test_quic_transport.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-node/tests/test_quic_transport.py b/packages/meshbay-node/tests/test_quic_transport.py
index 8eb0622..a32402a 100644
--- a/packages/meshbay-node/tests/test_quic_transport.py
+++ b/packages/meshbay-node/tests/test_quic_transport.py
@@ -3,6 +3,7 @@ Integration test: QuicChunkServer ↔ QuicChunkClient over QUIC/UDP loopback.
Same structure as test_transport.py but uses QUIC instead of TCP+TLS.
"""
+from meshbay_common.tokens import MNP_AUD
import asyncio
import os
import time
@@ -51,7 +52,8 @@ def make_jwt(sk_hub, pk_node_b64, ttl=3600, groups=None):
"pk_user": pk_node_b64, "hub_id": "test-hub",
"jti": "test-jti", "iat": now, "exp": now + ttl,
# group_id is mandatory (M1), so default tokens are members of "g".
- "groups": groups if groups is not None else ["g"],
+ "groups": groups if groups is not None else ["g"], "scope": "user",
+ "aud": MNP_AUD,
}, sk_pem, algorithm="EdDSA")