From 90779b6da49e72487532e5e2ac0b1e992a9be160 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 14 Oct 2020 14:53:51 +0200 Subject: [PATCH] introduced "/" for keycloak.json (#170) fixes: #165 --- src/context/auth/keycloak.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/auth/keycloak.ts b/src/context/auth/keycloak.ts index e26acb3db3..c4c1096d01 100644 --- a/src/context/auth/keycloak.ts +++ b/src/context/auth/keycloak.ts @@ -1,5 +1,5 @@ import Keycloak, { KeycloakInstance } from "keycloak-js"; -const keycloak: KeycloakInstance = Keycloak(); +const keycloak: KeycloakInstance = Keycloak("/keycloak.json"); export default async function (): Promise { await keycloak.init({ onLoad: "check-sso", pkceMethod: "S256" }).catch(() => {