@slickteam/nestjs-keycloak-admin
v1.0.0
Published
Module for Keycloak admin usage with Nestjs
Readme
Slick 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.4
@nestjs/config
:^3.2.3
@nestjs/core
:^10.4.4
Keycloak
keycloak-connect
:^25.0.6
nest-keycloak-connect
:^1.10.1