@slickteam/nestjs-keycloak-admin
v1.0.5
Published
Module for Keycloak admin usage with Nestjs
Downloads
200
Readme
Slick Nestjs Keycloak Admin
Available on npmjs.org : @slickteam/nestjs-keycloak-admin
Usage
- Install dependency
npm i -S @slickteam/nestjs-keycloak-admin
- In your environment file, add these lines :
KEYCLOAK_URL=http://localhost:8080
KEYCLOAK_REALM=
KEYCLOAK_ADMIN_CLIENT_ID=
KEYCLOAK_ADMIN_CLIENT_SECRET=5000
- In module where you want use this module, add this :
import { KeycloakModule } from '@slickteam/nestjs-keycloak-admin';
@Module({
imports: [KeycloakModule],
controllers: [],
providers: [],
exports: [],
})
class ExempleModule {}
Dependencies version
Nestjs
@nestjs/common
:^10.4.7
@nestjs/config
:^3.3.0
@nestjs/core
:^10.4.7
Keycloak
@s3pweb/keycloak-admin-client-cjs
:^26.0.5