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

11 lines
281 B
TypeScript
Raw Normal View History

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