parent
cb3eca46ec
commit
90779b6da4
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import Keycloak, { KeycloakInstance } from "keycloak-js";
|
import Keycloak, { KeycloakInstance } from "keycloak-js";
|
||||||
const keycloak: KeycloakInstance = Keycloak();
|
const keycloak: KeycloakInstance = Keycloak("/keycloak.json");
|
||||||
|
|
||||||
export default async function (): Promise<KeycloakInstance> {
|
export default async function (): Promise<KeycloakInstance> {
|
||||||
await keycloak.init({ onLoad: "check-sso", pkceMethod: "S256" }).catch(() => {
|
await keycloak.init({ onLoad: "check-sso", pkceMethod: "S256" }).catch(() => {
|
||||||
|
|
Loading…
Reference in a new issue