Using keycloak-admin-sdk with keycloak.local

TypeScript integration

Install
npm install keycloak-admin-sdk
Quick start
import Keycloak_admin_sdk from 'keycloak-admin-sdk';

const client = new Keycloak_admin_sdk({ apiKey: "YOUR_API_KEY" });
Get themes, social providers, auth providers, and event listeners available o…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/
Get the top-level representation of the realm It will not include nested in…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/{realm}
Need this for admin console to display simple name of provider when displayin…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/{id}/name
SDK on GitHub 📄 API Docs
SDK
keycloak-admin-sdk
TypeScript
API
keycloak.local
keycloak.local
At a glance
Language TypeScript
Endpoints281
Base URLhttp://keycloak.local