Update keycloakify

This commit is contained in:
garronej 2023-06-21 04:28:14 +02:00
parent 1fc667880b
commit df409780f0
3 changed files with 5 additions and 16 deletions

View File

@ -18,14 +18,6 @@
"extraThemeProperties": [ "extraThemeProperties": [
"foo=bar" "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": [ "extraThemeNames": [
"keycloakify-starter-variant-1" "keycloakify-starter-variant-1"
] ]
@ -37,7 +29,7 @@
"evt": "^2.4.15", "evt": "^2.4.15",
"jwt-decode": "^3.1.2", "jwt-decode": "^3.1.2",
"keycloak-js": "^21.0.1", "keycloak-js": "^21.0.1",
"keycloakify": "^7.13.2", "keycloakify": "^7.14.0",
"powerhooks": "^0.26.8", "powerhooks": "^0.26.8",
"react": "18.1.0", "react": "18.1.0",
"react-dom": "18.1.0", "react-dom": "18.1.0",

View File

@ -1,9 +1,6 @@
import { createGetKcContext } from "keycloakify/login"; import { createGetKcContext } from "keycloakify/login";
export type KcContextExtension = 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-1.ftl"; }
| { pageId: "my-extra-page-2.ftl"; someCustomValue: string; } | { pageId: "my-extra-page-2.ftl"; someCustomValue: string; }
// NOTE: register.ftl is deprecated in favor of register-user-profile.ftl // NOTE: register.ftl is deprecated in favor of register-user-profile.ftl

View File

@ -9697,10 +9697,10 @@ keycloak-js@^21.0.1:
base64-js "^1.5.1" base64-js "^1.5.1"
js-sha256 "^0.9.0" js-sha256 "^0.9.0"
keycloakify@^7.13.2: keycloakify@^7.14.0:
version "7.13.2" version "7.14.0"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.13.2.tgz#60aec6cc70566423267b72fd4d6cd8f7e009cf00" resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.14.0.tgz#bddc1ce11f85ee887e44dc1abfbb7cb6fbc9894e"
integrity sha512-oGTIYh0fWD0BMztEwsxdb+MGIIAYWJL6SQ0BES6N6arwjUwF4mMy0yAyAMZ2FBuTcf+FadaoOXYwFFCCN36GXw== integrity sha512-Ak+Tx1bVdT52DEPW6nWEP0w9F9pEDevv8hwWnNuGXTW5GNYpWocHx1KEaz/Nc46y236HVIKhRLYHSvelUyMImw==
dependencies: dependencies:
"@octokit/rest" "^18.12.0" "@octokit/rest" "^18.12.0"
"@types/yazl" "^2.4.2" "@types/yazl" "^2.4.2"