test: add e2e auth flow test script #16

Open
rock wants to merge 1 commits from feat/p3.9-e2e-auth-test into main
Owner

Closes #14 (P3.9)

scripts/test-auth-e2e.sh — run against live cluster.

Scenarios

  1. LLM inference: portfolio-agent + memory-agent call all backends
  2. Auth enforcement: no token = 401, bad token = 403
  3. Token claims: verify roles in JWT (s3:read, sqs:read, memory:write, etc)
  4. X-Service dispatch: S3, memory adapters
  5. Auth endpoints: /auth/token, /auth/refresh exist and respond

Results

15 passed, 0 failed, 1 skipped / 16 total

Skip: poimen-memory pods CrashLoopBackOff (unrelated).

Closes #14 (P3.9) `scripts/test-auth-e2e.sh` — run against live cluster. ## Scenarios 1. **LLM inference**: portfolio-agent + memory-agent call all backends 2. **Auth enforcement**: no token = 401, bad token = 403 3. **Token claims**: verify roles in JWT (s3:read, sqs:read, memory:write, etc) 4. **X-Service dispatch**: S3, memory adapters 5. **Auth endpoints**: /auth/token, /auth/refresh exist and respond ## Results ``` 15 passed, 0 failed, 1 skipped / 16 total ``` Skip: poimen-memory pods CrashLoopBackOff (unrelated).
rock added 1 commit 2026-09-09 00:40:02 +00:00
Validates JWT auth, identity claims, X-Service dispatch, and
auth endpoints against live cluster. 16 tests across 5 scenarios.

15/16 pass (1 skipped: poimen-memory pods down).

Closes #14

Co-authored-by: poimen <[email protected]>
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/p3.9-e2e-auth-test:feat/p3.9-e2e-auth-test
git checkout feat/p3.9-e2e-auth-test
Sign in to join this conversation.