nest-keycloak-connect
nest-keycloak-connect copied to clipboard
keycloak-nodejs-connect module for Nest
We are using keycloak for user authentication and authorization in Nest Js application. We want to implement resource-based-authorization and user-managed-access and for this purpose we need to customize or dynamic...
First, thanks for your work on this library! According to the official [Deprecation of Keycloak adapters](https://www.keycloak.org/2022/02/adapter-deprecation.html) post (and the corresponding [GitHub discussion](https://github.com/keycloak/keycloak/discussions/9818)), the [keycloak-nodejs-connect](https://github.com/keycloak/keycloak-nodejs-connect) adapter (which this library relies on)...
I am passing a token that I generate from a service account - however when I pass the token with the setting TokenValidation.ONLINE it fails WARN [Keycloak] Cannot validate access...
Hi I am using the approach with Client Id and Secret and was able to retrieve access_token with username and password, however, when passing this to the backend, I got:...
Is it possible to support websockets? Using the default socket implementation that is suggested by NestJS, this is as easy as adding another case in the `extractRequest` helper. The related...
Is it possible we could only use the decorators for rbac like @Roles without setting up client with confidential type (with secret field) and just verify the access token?
I would like to know how we do to set secret when our client is Public. I don't have a secret and it's required on KeycloakConnectOptions . I've tried let...
I am tryng to figure out why after replacing the default nest logger with pino logger, my nest-keycloak-connect logs aren't displayed to the console. Here is how I instanciate my...
What I want to achieve is a controller with 2 endpoints. The controller is annotated with `@Resource`. The endpoints are annotated with `@Scope`. Both endpoints got the same url. If...
Is there a way or suggestion on how to mock the Keacloack service using this module? Is it possible to use https://github.com/SectorLabs/keycloak-mock ?