diff --git a/README.md b/README.md index 522a10d..56d4c33 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@

-!!!WIP!!! For the moment checkout [this](https://github.com/etalab/sill-web/tree/main/src/ui/components/KcApp). A starter/demo project for [Keycloakify](https://keycloakify.dev) diff --git a/package.json b/package.json index 88e8464..cdc1109 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "keywords": [], "dependencies": { "@emotion/react": "^11.9.0", - "keycloakify": "^6.0.2", + "keycloakify": "^6.0.3", "react": "18.1.0", "react-dom": "18.1.0", "evt": "^2.4.1" diff --git a/src/KcApp/KcApp.tsx b/src/KcApp/KcApp.tsx index a242f2b..0cd7747 100644 --- a/src/KcApp/KcApp.tsx +++ b/src/KcApp/KcApp.tsx @@ -1,3 +1,4 @@ +import "./KcApp.css"; import { lazy, Suspense } from "react"; import type { KcContext } from "./kcContext"; import KcAppBase, { defaultKcProps } from "keycloakify"; diff --git a/src/KcApp/kcContext.ts b/src/KcApp/kcContext.ts index 6b47d97..15e0e35 100644 --- a/src/KcApp/kcContext.ts +++ b/src/KcApp/kcContext.ts @@ -14,7 +14,8 @@ export const { kcContext } = getKcContext< // Uncomment to test the login page for development. // Try with another page like "register-user-profile.ftl" // DON'T forget to re-comment before publishing to production. - "mockPageId": "login.ftl", + // You must run 'yarn keycloak' at least once before testing locally. + //"mockPageId": "login.ftl", "mockData": [ { "pageId": "login.ftl", diff --git a/yarn.lock b/yarn.lock index cf6b761..45cf664 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6084,10 +6084,10 @@ jsonpointer@^5.0.0: array-includes "^3.1.5" object.assign "^4.1.2" -keycloakify@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.0.2.tgz#0bc95111117b6bc28e4668c335948c5ae70da7f0" - integrity sha512-/Y4YaWUB/rzXAwL1StEIYnVwKLmePlHcqqKC6ZrfhEaf02N0EWxqS9oZNrE1wU3mrD9xDSe5qcYMr/mgxkYAoQ== +keycloakify@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.0.3.tgz#c17af036016ca983878c28340127d744776def02" + integrity sha512-1CmVE6x1DyEpDVAWa3CKUjciGeuBbS7FWIGGuMLtoeRepJzhXxVxghAyKSl4TCo1ZxG2JTUrAE4Q7g/PQKXs8A== dependencies: "@octokit/rest" "^18.12.0" cheerio "^1.0.0-rc.5"