Skip to content

Commit

Permalink
Upgrate keycloakify
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed May 28, 2021
1 parent 87bbfb1 commit 4c5b850
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://datalab.sspcloud.fr",
"name": "onyxia-ui",
"version": "0.10.2",
"version": "0.10.3",
"license": "MIT",
"devDependencies": {
"@storybook/addon-actions": "^6.1.11",
Expand Down Expand Up @@ -30,7 +30,7 @@
"circular-dependency-plugin": "^5.2.0",
"events": "^3.2.0",
"fs": "file:./.storybook/.compatibility/fs",
"keycloakify": "^0.4.4",
"keycloakify": "^1.0.3",
"minimal-polyfills": "^2.2.1",
"react-app-rewired": "^2.1.8",
"typescript": "^4.2.4"
Expand Down
4 changes: 3 additions & 1 deletion src/app/components/KcApp/KcApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Info } from "keycloakify/lib/components/Info"
import { Error } from "keycloakify/lib/components/Error"
import { LoginResetPassword } from "keycloakify/lib/components/LoginResetPassword"
import { LoginVerifyEmail } from "keycloakify/lib/components/LoginVerifyEmail"
import { LoginOtp } from "keycloakify/lib/components/LoginOtp";
import { getBrowser }  from "app/tools/getBrowser";
import { Terms } from "./Terms";

Expand Down Expand Up @@ -116,7 +117,8 @@ export const KcApp = memo((props: Props) => {
case "error.ftl": return <Error {...{ kcContext, ...kcProps }} />;
case "login-reset-password.ftl": return <LoginResetPassword {...{ kcContext, ...kcProps }} />;
case "login-verify-email.ftl": return <LoginVerifyEmail {...{ kcContext, ...kcProps }} />;
case "terms.ftl": return <Terms {...{ kcContext, ...kcProps }} />
case "terms.ftl": return <Terms {...{ kcContext, ...kcProps }} />;
case "login-otp.ftl": return <LoginOtp {...{ kcContext, ...kcProps }}/>;
}

});
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10090,10 +10090,10 @@ keycloak-js@^10.0.2:
base64-js "1.3.1"
js-sha256 "0.9.0"

keycloakify@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-0.4.4.tgz"
integrity sha512-q65yu++XUActXWrhS7a54GDjLdxsalH7+myBOz7QLgqj9ASiUb0s2dofIe+11aclz7YK59QakVbvrX6DIQn83g==
keycloakify@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-1.0.3.tgz#b70e4dcf2554584c0f0dbbdf0ebd3a7083332715"
integrity sha512-8vsHVsVgcueAKAD4fjzEPTKeqXnYWN27Vr0aUuRThfLppbL5hXHim2JRbD4jbwGdkZ3nNbi3y++SNU19z09wGw==
dependencies:
cheerio "^1.0.0-rc.5"
evt "2.0.0-beta.15"
Expand Down

0 comments on commit 4c5b850

Please sign in to comment.