Skip to content

Conversation

@drernie
Copy link
Member

@drernie drernie commented Jan 16, 2026

Summary\n- wire Envoy JWT authn + Lua filter for prefix/wildcard grants\n- add RAJEE grants tokens, JWKS endpoint, and scope-to-grant conversion\n- add local Lua/JWKS/docker test harness and update changelog\n\n## Testing\n- ./poe bump\n- ./poe all (timed out during CDK deploy)

@drernie drernie linked an issue Jan 16, 2026 that may be closed by this pull request
drernie and others added 3 commits January 15, 2026 20:55
Reorganize changelog entries to properly separate 0.4.1 from 0.4.0:
- Move RAJEE Envoy JWT/Lua auth features to 0.4.1
- Move control plane JWKS and token features to 0.4.1
- Move RAJEE grants and local testing to 0.4.1
- Keep S3 test bucket and integration tests in 0.4.0
- Keep audit logging and admin UI changes in 0.4.0
- Remove duplicate "authorization enabled by default" entry

This better reflects the chronological development and feature grouping.

Co-Authored-By: Claude <noreply@anthropic.com>
Add 'coverage' as a convenience alias for the existing test-cov task.
This provides a shorter command for running tests with coverage reports.

Usage: ./poe coverage

Co-Authored-By: Claude <noreply@anthropic.com>
Document the plan to enable JWT authentication in the RAJEE Envoy stack
by default (fail-closed mode). This spec outlines a safe, incremental
approach to enable authorization with proper testing:

1. Add always-allow Cedar policy for test prefix
2. Add negative authorization test (validates auth denies unauthorized access)
3. Update existing tests to use JWT tokens
4. Enable auth by default in all environments (Docker, CDK, docker-compose)
5. Configure JWT secret access for integration tests
6. Wire up JWKS endpoint configuration

Includes detailed implementation steps, testing strategy (local, integration,
deployment validation), success criteria, and rollback plan.

This is the next phase after completing the Envoy Lua authorization
implementation (spec 09).

Co-Authored-By: Claude <noreply@anthropic.com>
@drernie drernie merged commit 634e0a7 into main Jan 16, 2026
6 checks passed
@drernie drernie deleted the 17-lua-auth branch January 16, 2026 06:29
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.

lua auth

2 participants