Skip to content

feat: expose auth session validation boundary - #13

Merged
ramioooz merged 1 commit into
mainfrom
feature/46-session-validation-boundary
Sep 7, 2026
Merged

ramioooz merged 1 commit into
mainfrom
feature/46-session-validation-boundary

Conversation

@ramioooz

@ramioooz ramioooz commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Add GET /api/v1/auth/session for service-local bearer validation.
  • Return the authenticated subject and session ID only when JWT claims and PostgreSQL session state are both valid.
  • Preserve the existing REVOKE_PREVIOUS behavior: a prior token is rejected after a later login.
  • Document the endpoint and expose its 200/401 OpenAPI contract.

Tracking

Verification

  • ./mvnw --batch-mode --no-transfer-progress verify
    • 20 unit tests passed.
    • 10 integration tests passed.
  • helm lint helm --strict --values helm/values-sit.yaml passed.
  • Helm template rendered successfully (4,315 bytes).
  • git diff --check passed.

No terminal/event changes, AWS/UAT/PROD provisioning, API Gateway routes, redundant unit tests, or CI jobs are included. This PR is non-draft and has not been merged.

@ramioooz
ramioooz merged commit cf59101 into main Sep 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant