Socket
Book a DemoInstallSign in
Socket

@s3pweb/keycloak-admin-client-cjs

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s3pweb/keycloak-admin-client-cjs

Keycloak Admin Client compiled in CommonJS.

latest
Source
npmnpm
Version
26.3.3
Version published
Weekly downloads
108K
-0.78%
Maintainers
1
Weekly downloads
 
Created
Source

Keycloak Admin Client in CommonJS

This lib exports the @keycloak/keycloak-admin-client (an ECMA Script module) as a CommonJS module, so it can be used in NestJS.

This repo is based on an idea by Manuelbaun on this issue https://github.com/keycloak/keycloak-nodejs-admin-client/issues/523

The version number of this repo will follow the version number of @keycloak/keycloak-admin-client.

Install

npm i @s3pweb/keycloak-admin-client-cjs

Usage

import { KeycloakAdminClient } from '@s3pweb/keycloak-admin-client-cjs';

@Injectable()
export class KeycloakService {
    private readonly kcAdminClient: KeycloakAdminClient;

    constructor(logger: LoggingService) {
        this.log = logger.getLogger(KeycloackService.name);
        this.kcAdminClient = new KeycloakAdminClient();
    }

}

How to release

First, compile and build the project:

npm i
npm run prepublish

To release a new version, you can use the release script with the keycloak-admin-client version as an argument:

npm run release -- --release-as <NEW_VERSION>

Then push the changes and the new tag to the main branch:

git push origin main --follow-tags

Keywords

keycloak-admin-client

FAQs

Package last updated on 29 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts