From 47c6d0dd626404a765c406399a8bf1fa77fcb8db Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 8 Dec 2021 14:12:35 +0100 Subject: [PATCH] Update post build instructions --- src/bin/build-keycloak-theme/build-keycloak-theme.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/bin/build-keycloak-theme/build-keycloak-theme.ts b/src/bin/build-keycloak-theme/build-keycloak-theme.ts index dd599d2b..41cae1fe 100644 --- a/src/bin/build-keycloak-theme/build-keycloak-theme.ts +++ b/src/bin/build-keycloak-theme/build-keycloak-theme.ts @@ -121,11 +121,13 @@ export function main() { "", `👉 $ ./${pathRelative(reactProjectDirPath, pathJoin(keycloakThemeBuildingDirPath, containerLaunchScriptBasename))} 👈`, "", - 'To enable the theme within keycloak log into the admin console ( 👉 http://localhost:8080 username: admin, password: admin 👈), create a realm (called "myrealm" for example),', - `go to your realm settings, click on the theme tab then select ${themeName}.`, - `More details: https://www.keycloak.org/getting-started/getting-started-docker`, - "", - "Once your container is up and configured 👉 http://localhost:8080/auth/realms/myrealm/account 👈", + "To test your theme: ", + "- Log into the admin console 👉 http://localhost:8080 username: admin, password: admin 👈", + '- Create a realm named "myrealm"', + '- Create a client with id "myclient" and root url: "https://www.keycloak.org/app/"', + `- Select Login Theme: ${themeName} (don't forget to save at the bottom of the page)`, + `- Go to 👉 https://www.keycloak.org/app/ 👈 Click "Save" then "Sign in"`, + `You should see your login page, More details: https://www.keycloak.org/getting-started/getting-started-docker`, "", ].join("\n"), );