P3.6: Enforce JWT auth on X-Service adapter dispatch #11

Open
opened 2026-09-08 04:42:44 +00:00 by rock · 0 comments
Owner

Summary

Wire JWT validation into ServiceAdapter dispatcher. Currently auth.required: true on SQS adapter is ignored.

Code repo: rock/homelab-frontendinternal/serviceadapter/

Acceptance Criteria

  • Dispatcher checks auth.required per adapter
  • Validates Bearer JWT, checks capability (<service>:read/<service>:write)
  • Injects X-Forwarded-User headers (reuse P3.4)
  • Adapters with auth.required: false unchanged
  • Unit tests

Depends on

  • P3.4
## Summary Wire JWT validation into ServiceAdapter dispatcher. Currently `auth.required: true` on SQS adapter is ignored. **Code repo:** `rock/homelab-frontend` — `internal/serviceadapter/` ## Acceptance Criteria - [ ] Dispatcher checks `auth.required` per adapter - [ ] Validates Bearer JWT, checks capability (`<service>:read`/`<service>:write`) - [ ] Injects X-Forwarded-User headers (reuse P3.4) - [ ] Adapters with `auth.required: false` unchanged - [ ] Unit tests ## Depends on - P3.4
rock added this to the Phase 3: OAuth2 Token Exchange & Identity Propagation milestone 2026-09-08 04:42:44 +00:00
rock added the area/autharea/gatewaytype/featurestatus/todopriority/medium labels 2026-09-08 04:42:45 +00:00
rock self-assigned this 2026-09-08 04:42:47 +00:00
rock added this to the API-GW OAuth project 2026-09-08 04:44:00 +00:00
Sign in to join this conversation.