From 400cdc5059810d4335b2dee113e8e7a1c2d630de Mon Sep 17 00:00:00 2001 From: phact Date: Tue, 7 Oct 2025 15:08:08 -0400 Subject: [PATCH] claims --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4091a5c4..36ce54e1 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,7 @@ test-ci: echo "Token hash (host):"; \ echo "$$TEST_TOKEN" | sha256sum | cut -d' ' -f1 | cut -c1-16; \ echo "Decoding JWT claims (host):"; \ - uv run python -c "import jwt, sys; sys.stdin.read(); tok='$$TEST_TOKEN'; print('iss:', jwt.decode(tok, options={'verify_signature': False}).get('iss')); print('aud:', jwt.decode(tok, options={'verify_signature': False}).get('aud')); print('roles:', jwt.decode(tok, options={'verify_signature': False}).get('roles'))"; \ + echo "$$TEST_TOKEN" | uv run python -c "import jwt, sys; tok=sys.stdin.read().strip(); claims=jwt.decode(tok, options={'verify_signature': False}); print('iss:', claims.get('iss'), 'aud:', claims.get('aud'), 'roles:', claims.get('roles'))"; \ echo "Waiting for OpenSearch with JWT auth to work..."; \ JWT_AUTH_READY=false; \ for i in $$(seq 1 60); do \