Skip to content

feat: JWT role extractor for RBAC without interactive OAuth#1840

Draft
lrudolph333 wants to merge 4 commits into
kafbat:mainfrom
lrudolph333:feat/jwt-rbac-resource-server
Draft

feat: JWT role extractor for RBAC without interactive OAuth#1840
lrudolph333 wants to merge 4 commits into
kafbat:mainfrom
lrudolph333:feat/jwt-rbac-resource-server

fix: provide no-op ReactiveClientRegistrationRepository for resource-…

35fce23
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Task Completed Checker succeeded May 29, 2026 in 0s

Task Completed Checker

All tasks are completed!

Details

✅ Completed Tasks

  • Unit tests: RbacReactiveJwtAuthenticationConverterTest — 10 cases covering role lists, comma-separated strings, username matching, sub fallback, empty groups, regex subjects
  • Integration tests: JwtResourceServerRbacTest — 6 cases using WireMock JWKS + RSA-signed JWTs verifying end-to-end decode → role extraction → principal creation
  • All existing OAuth/RBAC tests pass (no regressions)
  • Checkstyle passes
  • Deployed internally with the following environment, non-admin folks can no longer see message viewing