b7e4db8e15
Co-authored-by: Jon Koops <jonkoops@gmail.com>
10 lines
292 B
TypeScript
10 lines
292 B
TypeScript
import Keycloak from "keycloak-js";
|
|
import { environment } from "./environment";
|
|
|
|
export const keycloak = new Keycloak({
|
|
url: environment.authServerUrl,
|
|
realm: environment.loginRealm,
|
|
clientId: environment.isRunningAsTheme
|
|
? "account-console"
|
|
: "security-admin-console-v2",
|
|
});
|