From 6b031c709a39699ca34979bb99af6dba8fa4f598 Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 22 Mar 2023 03:36:54 +0100 Subject: [PATCH] Fix build --- package.json | 2 +- src/App/App.tsx | 2 +- src/keycloak-theme/account/Template.tsx | 1 + src/keycloak-theme/account/pages/Password.tsx | 4 ++-- yarn.lock | 8 ++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 1b8feff..2072e93 100755 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "evt": "^2.4.15", "jwt-decode": "^3.1.2", "keycloak-js": "^21.0.1", - "keycloakify": "^7.0.0", + "keycloakify": "^7.0.1", "powerhooks": "^0.26.2", "react": "18.1.0", "react-dom": "18.1.0", diff --git a/src/App/App.tsx b/src/App/App.tsx index 9efcf9f..0d9cc38 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -48,7 +48,7 @@ function ContextualizedApp() { <>

You are authenticated !

{/* On older Keycloak version its /auth/realms instead of /realms */} - Link to your Keycloak account + Link to your Keycloak account
{JSON.stringify(jwt_decode(oidcClient.getAccessToken()), null, 2)}
diff --git a/src/keycloak-theme/account/Template.tsx b/src/keycloak-theme/account/Template.tsx index 283178b..d535986 100644 --- a/src/keycloak-theme/account/Template.tsx +++ b/src/keycloak-theme/account/Template.tsx @@ -45,6 +45,7 @@ export default function Template(props: TemplateProps) { {realm.internationalizationEnabled && (assert(locale !== undefined), true) && locale.supported.length > 1 && (
  • + {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */} {labelBySupportedLanguageTag[currentLanguageTag]} diff --git a/src/keycloak-theme/account/pages/Password.tsx b/src/keycloak-theme/account/pages/Password.tsx index c92b4d1..b583c08 100644 --- a/src/keycloak-theme/account/pages/Password.tsx +++ b/src/keycloak-theme/account/pages/Password.tsx @@ -15,7 +15,7 @@ export default function LogoutConfirm(props: PageProps )} - +
    diff --git a/yarn.lock b/yarn.lock index 3886372..1355c3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6152,10 +6152,10 @@ keycloak-js@^21.0.1: base64-js "^1.5.1" js-sha256 "^0.9.0" -keycloakify@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.0.0.tgz#fa40ce5a45915179f769ffd17891f7f1d83049fb" - integrity sha512-LBqHjvurVXUAxzWvkdNQFtXJ2IbbzVZqbxIeeCLCk6NVuemgLhM6LmnR6IJRUhE5pTBZLkp9GoWl3jVPhBOPxg== +keycloakify@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-7.0.1.tgz#7120ce5762517e40265939737e0bbffc8b70fc9c" + integrity sha512-gL2Lmdks1grrR5SJ/uMKV9S/o3gRh6CaOKCGG+k0/UX5EQCVfiH+FiS4IG3Gq9zYx/zoZd3x4wELiTLxG+kuPg== dependencies: "@octokit/rest" "^18.12.0" cheerio "^1.0.0-rc.5"