NestJS Keycloak gRPC Integration
JSON →A NestJS gRPC wrapper for Keycloak that provides guards (`ProtectedGuard`, `RoleGuard`) and decorators (`@Protected`, `@Role`) for authenticating and authorizing gRPC calls via Keycloak. Current version 0.2.0, requires `@grpc/grpc-js`, NestJS 8, and `keycloak-connect` between 17 and 18. Configurable via environment variables. Essentially a bridge between NestJS gRPC services and Keycloak's role-based access control, with automatic token validation and permission checking. Limited documentation and active development; not widely adopted.
Resources
packagenest-keycloak-grpc ↗
API endpoints
full doc /v1/registry/nest-keycloak-grpc