Initial commit

This commit is contained in:
garronej 2022-09-06 19:22:23 +02:00
parent 22532b67ea
commit 518d381447
76 changed files with 11799 additions and 2 deletions

16
src/KcApp/kcContext.ts Normal file
View file

@ -0,0 +1,16 @@
import { getKcContext } from "keycloakify/lib/getKcContext";
export const { kcContext } = getKcContext({
/* Uncomment to test th<e login page for development */
//"mockPageId": "login.ftl",
"mockData": [
{
"pageId": "login.ftl",
"locale": {
"currentLanguageTag": "fr", //When we test the login page we do it in french
},
},
],
});
export type KcContext = NonNullable<typeof kcContext>;