diff --git a/README.md b/README.md index 5c73e9d..b453f73 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,13 @@ # A modern Keycloak login theme -keycloak-modern-login is a Keycloak login theme that's build using Tailwind CSS, Vue.js 3 and Typescript. It is easily extensible and bypasses the complexity of FreeMarker templates. +keycloak-modern-login is a Keycloak login theme that's build using Vue.js 3 and Typescript. It is easily extensible and bypasses the complexity of FreeMarker templates.
Screenshots ![](docs/login-form.jpg) -![](docs/login-webauthn.jpg) - +![](docs/login-webauthn.jpg)
## State of this project diff --git a/src/types/context.ts b/src/types/context.ts index 1a7c3a8..f33a8a3 100644 --- a/src/types/context.ts +++ b/src/types/context.ts @@ -325,16 +325,6 @@ export declare namespace KcContextBase { attributesByName: Record; }; }; - - export type SAMLPostForm = Common & { - pageId: "saml-post-form.ftl" - samlPost: { - url: string; - SAMLRequest?: string; - SAMLResponse?: string; - relayState?: string; - } - }; } export type Attribute = { diff --git a/src/types/samlPostData.ts b/src/types/samlPostData.ts deleted file mode 100644 index 6bc70c3..0000000 --- a/src/types/samlPostData.ts +++ /dev/null @@ -1,5 +0,0 @@ -export type SAMLPostData = { - SAMLRequest?: string, - SAMLResponse?: string, - relayState?: string, -} \ No newline at end of file diff --git a/src/views/saml-post-form/index.ftl b/src/views/saml-post-form/index.ftl deleted file mode 100644 index 21397e4..0000000 --- a/src/views/saml-post-form/index.ftl +++ /dev/null @@ -1,6 +0,0 @@ -<#import "baselayout.ftl" as layout> -<@layout.baseLayout pageId="saml-post-form.ftl" ; section> - <#if section = "scripts"> - - - diff --git a/src/views/saml-post-form/index.ts b/src/views/saml-post-form/index.ts deleted file mode 100644 index 9344ee4..0000000 --- a/src/views/saml-post-form/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { createApp } from "vue"; -import index from "./index.vue"; - -if ((window as any).kcContext) { - const app = createApp(index); - app.mount("#app"); -} diff --git a/src/views/saml-post-form/index.vue b/src/views/saml-post-form/index.vue deleted file mode 100644 index e5ea71e..0000000 --- a/src/views/saml-post-form/index.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - diff --git a/src/views/webauthn-authenticate/index.vue b/src/views/webauthn-authenticate/index.vue index ed6a2e8..e433d12 100644 --- a/src/views/webauthn-authenticate/index.vue +++ b/src/views/webauthn-authenticate/index.vue @@ -86,7 +86,7 @@ import type { KcContextBase } from "~/types/context"; import { base64url } from "rfc4648"; export default defineComponent({ - name: "WebAuthnAuthenticate", + name: "Login", components: { Layout, ErrorBox, diff --git a/webpack.config.js b/webpack.config.js index ba34e35..5807125 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -5,7 +5,7 @@ const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const THEME_NAME = "modern-login"; -const customPages = ["login", "webauthn-authenticate", "saml-post-form"]; +const customPages = ["login", "webauthn-authenticate"]; module.exports = function (env, argv) { const isDevelopment = argv.mode !== "production";