This commit is contained in:
garronej 2022-09-07 14:17:17 +02:00
parent 2a10ec9a20
commit 377f461da8
5 changed files with 8 additions and 7 deletions

View file

@ -1,7 +1,6 @@
<p align="center"> <p align="center">
<img src="https://github.com/garronej/keycloakify-advanced-starter/workflows/ci/badge.svg?branch=main"> <img src="https://github.com/garronej/keycloakify-advanced-starter/workflows/ci/badge.svg?branch=main">
</p> </p>
!!!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) A starter/demo project for [Keycloakify](https://keycloakify.dev)

View file

@ -24,7 +24,7 @@
"keywords": [], "keywords": [],
"dependencies": { "dependencies": {
"@emotion/react": "^11.9.0", "@emotion/react": "^11.9.0",
"keycloakify": "^6.0.2", "keycloakify": "^6.0.3",
"react": "18.1.0", "react": "18.1.0",
"react-dom": "18.1.0", "react-dom": "18.1.0",
"evt": "^2.4.1" "evt": "^2.4.1"

View file

@ -1,3 +1,4 @@
import "./KcApp.css";
import { lazy, Suspense } from "react"; import { lazy, Suspense } from "react";
import type { KcContext } from "./kcContext"; import type { KcContext } from "./kcContext";
import KcAppBase, { defaultKcProps } from "keycloakify"; import KcAppBase, { defaultKcProps } from "keycloakify";

View file

@ -14,7 +14,8 @@ export const { kcContext } = getKcContext<
// Uncomment to test the login page for development. // Uncomment to test the login page for development.
// Try with another page like "register-user-profile.ftl" // Try with another page like "register-user-profile.ftl"
// DON'T forget to re-comment before publishing to production. // 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": [ "mockData": [
{ {
"pageId": "login.ftl", "pageId": "login.ftl",

View file

@ -6084,10 +6084,10 @@ jsonpointer@^5.0.0:
array-includes "^3.1.5" array-includes "^3.1.5"
object.assign "^4.1.2" object.assign "^4.1.2"
keycloakify@^6.0.2: keycloakify@^6.0.3:
version "6.0.2" version "6.0.3"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.0.2.tgz#0bc95111117b6bc28e4668c335948c5ae70da7f0" resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-6.0.3.tgz#c17af036016ca983878c28340127d744776def02"
integrity sha512-/Y4YaWUB/rzXAwL1StEIYnVwKLmePlHcqqKC6ZrfhEaf02N0EWxqS9oZNrE1wU3mrD9xDSe5qcYMr/mgxkYAoQ== integrity sha512-1CmVE6x1DyEpDVAWa3CKUjciGeuBbS7FWIGGuMLtoeRepJzhXxVxghAyKSl4TCo1ZxG2JTUrAE4Q7g/PQKXs8A==
dependencies: dependencies:
"@octokit/rest" "^18.12.0" "@octokit/rest" "^18.12.0"
cheerio "^1.0.0-rc.5" cheerio "^1.0.0-rc.5"