keycloak-scim/js/apps/admin-ui/src/keycloak.ts

12 lines
296 B
TypeScript
Raw Normal View History

import Keycloak from "keycloak-js";
import environment from "./environment";
export const keycloak = new Keycloak({
url: environment.authServerUrl,
realm: environment.loginRealm,
clientId: environment.isRunningAsTheme
? "security-admin-console"
: "security-admin-console-v2",
});