Server Info API
ServerInfoHandle exposes root-scoped Keycloak server metadata.
Access
const serverInfo = kc.serverInfo();
Methods
get()
Fetches the current ServerInfoRepresentation.
const info = await kc.serverInfo().get();
getEffectiveMessageBundles(query)
Fetches the effective message bundles for a specific realm/theme combination.
const bundles = await kc.serverInfo().getEffectiveMessageBundles({
realm: 'master',
themeType: 'login',
locale: 'en',
});
The query supports realm, theme, themeType, locale, and source.