keycloak/js
Michal Vavřík ec1ddc73d4
Added typescript based module for the client admin v2 (#46440)
* Added typescript based module for the client admin v2

Based on the new openapi client admin api this module can be generated
based on the defenition.

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* now uses openapitools to generate and moved it into the existing module for better adoption

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* changed back to use kiota as it offers a nicer fluent api

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* fixed build

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* better api

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* removed base representation filter

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* added flag to explicited enable v2

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* re-run generation

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* enable client-admin-api:v2 in PR CI tests

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>

* fix JS OpenAPI generation on Windows

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>

* remove unnecessary statement from generate.ts

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>

* Fix Windows line endings in JS OpenAPI post-processing

Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2026-02-18 19:34:00 +01:00
..
.husky make sure the index.ts file doesn't change (#35818) 2024-12-17 08:14:19 -05:00
apps Added typescript based module for the client admin v2 (#46440) 2026-02-18 19:34:00 +01:00
libs Added typescript based module for the client admin v2 (#46440) 2026-02-18 19:34:00 +01:00
themes-vendor Bump @rollup/plugin-commonjs from 28.0.8 to 29.0.0 in /js (#45245) 2026-01-12 14:32:53 -05:00
util Make shebang in bash scripts consistent (#37369) 2026-02-17 11:32:28 +01:00
.gitignore Fix broken localization tests on Firefox (#41324) 2025-07-22 12:11:23 +00:00
CODING_GUIDELINES.md updated the coding guidelines (#40179) 2025-06-03 12:43:33 +00:00
eslint.config.js Rework floating promises to avoid concurrency side effects 2025-07-08 19:43:15 +02:00
osv-scanner.toml Supress the false positives reported by scorecards 2025-02-19 16:16:56 -03:00
package.json Bump @eslint/compat from 1.4.0 to 2.0.0 in /js (#45248) 2026-01-12 14:34:38 -05:00
pnpm-lock.yaml Added typescript based module for the client admin v2 (#46440) 2026-02-18 19:34:00 +01:00
pnpm-workspace.yaml Fix broken lockfile and upgrade JS tooling (#41698) 2025-08-06 14:30:08 -03:00
pom.xml Automatically dispose of realms created by createTestBed() (#43299) 2025-10-10 10:22:21 -04:00
README.md updated the coding guidelines (#40179) 2025-06-03 12:43:33 +00:00
tsconfig.eslint.json Move root PNPM workspace to js directory (#35456) 2024-11-29 17:20:32 +01:00
tsconfig.json Move root PNPM workspace to js directory (#35456) 2024-11-29 17:20:32 +01:00

Keycloak JavaScript

This directory contains the UIs and related libraries of the Keycloak project written in JavaScript (and TypeScript).

Directory structure

├── apps
│   ├── account-ui                 # Account UI for account management i.e controlling password and account access, tracking and managing permissions
│   ├── admin-ui                   # Admin UI for handling login, registration, administration, and account management
│   └── keycloak-server            # Keycloak server for local development of UIs
├── libs
│   ├── ui-shared                  # Shared component library between admin and account
│   └── keycloak-admin-client      # Keycloak Admin Client library for Keycloak REST API
├── ...

Data processing

Red Hat may process information including business contact information and code contributions as part of its participation in the project, data is processed in accordance with Red Hat Privacy Statement.

To speed up the build process, the following build flag can be used to disable the processing of these modules:

-Dskip.npm

Contributing

If you want to contribute please look at the coding guidelines