From df409780f084cea2994d7e47b873e47949fb76d2 Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 21 Jun 2023 04:28:14 +0200 Subject: [PATCH] Update keycloakify --- package.json | 10 +--------- src/keycloak-theme/login/kcContext.ts | 3 --- yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index bd091dc..9505879 100755 --- a/package.json +++ b/package.json @@ -18,14 +18,6 @@ "extraThemeProperties": [ "foo=bar" ], - "extraLoginPages": [ - "my-extra-page-1.ftl", - "my-extra-page-2.ftl" - ], - "extraAccountPages": [ - "my-extra-page-1.ftl", - "my-extra-page-2.ftl" - ], "extraThemeNames": [ "keycloakify-starter-variant-1" ] @@ -37,7 +29,7 @@ "evt": "^2.4.15", "jwt-decode": "^3.1.2", "keycloak-js": "^21.0.1", - "keycloakify": "^7.13.2", + "keycloakify": "^7.14.0", "powerhooks": "^0.26.8", "react": "18.1.0", "react-dom": "18.1.0", diff --git a/src/keycloak-theme/login/kcContext.ts b/src/keycloak-theme/login/kcContext.ts index 244b41e..9fdc78a 100644 --- a/src/keycloak-theme/login/kcContext.ts +++ b/src/keycloak-theme/login/kcContext.ts @@ -1,9 +1,6 @@ import { createGetKcContext } from "keycloakify/login"; export type KcContextExtension = - // NOTE: A 'keycloakify' field must be added - // in the package.json to generate theses extra pages - // https://docs.keycloakify.dev/build-options#keycloakify.extrapages | { pageId: "my-extra-page-1.ftl"; } | { pageId: "my-extra-page-2.ftl"; someCustomValue: string; } // NOTE: register.ftl is deprecated in favor of register-user-profile.ftl diff --git a/yarn.lock b/yarn.lock index 312deab..aa562b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9697,10 +9697,10 @@ keycloak-js@^21.0.1: base64-js "^1.5.1" js-sha256 "^0.9.0" -keycloakify@^7.13.2: - version "7.13.2" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.13.2.tgz#60aec6cc70566423267b72fd4d6cd8f7e009cf00" - integrity sha512-oGTIYh0fWD0BMztEwsxdb+MGIIAYWJL6SQ0BES6N6arwjUwF4mMy0yAyAMZ2FBuTcf+FadaoOXYwFFCCN36GXw== +keycloakify@^7.14.0: + version "7.14.0" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.14.0.tgz#bddc1ce11f85ee887e44dc1abfbb7cb6fbc9894e" + integrity sha512-Ak+Tx1bVdT52DEPW6nWEP0w9F9pEDevv8hwWnNuGXTW5GNYpWocHx1KEaz/Nc46y236HVIKhRLYHSvelUyMImw== dependencies: "@octokit/rest" "^18.12.0" "@types/yazl" "^2.4.2"