Skip to main content
A type-safe API client for the Keycloak Admin and Account APIs, auto-generated from the official OpenAPI specification with full TypeScript support.

Features

  • Type-Safe - Full TypeScript support with auto-generated types from OpenAPI spec
  • Admin API - Complete Keycloak Admin REST API coverage
  • Account API - User account management endpoints
  • Auto-Updated - Daily regeneration from upstream OpenAPI specs

Installation

Usage

Admin API Usage

Type Exports

API Reference

The client exposes Keycloak API endpoints including:

Admin API

  • Realms - Realm management and configuration
  • Users - User CRUD operations and management
  • Clients - OAuth/OIDC client configuration
  • Roles - Role management and assignment
  • Groups - Group management and membership
  • Identity Providers - Federation configuration
  • Authentication - Authentication flow configuration
  • And more…

Account API

  • Profile - User profile management
  • Credentials - Credential management
  • Sessions - Active session management
For the complete API reference, see the Keycloak Admin REST API documentation.