diff --git a/src/bin/keycloakify/keycloakify.ts b/src/bin/keycloakify/keycloakify.ts index 1dbc0df7..9599ad58 100644 --- a/src/bin/keycloakify/keycloakify.ts +++ b/src/bin/keycloakify/keycloakify.ts @@ -128,16 +128,18 @@ export async function main() { ``, `Once your container is up and running: `, "- Log into the admin console 👉 http://localhost:8080/admin username: admin, password: admin 👈", - `- Create a realm: myrealm`, - `- Enable registration: Realm settings -> Login tab -> User registration: on`, - `- Enable the Account theme: Realm settings -> Themes tab -> Account theme, select ${buildOptions.themeName} `, - `- Create a client id myclient`, - ` Root URL: https://www.keycloak.org/app/`, - ` Valid redirect URIs: https://www.keycloak.org/app* http://localhost* (localhost is optional)`, - ` Valid post logout redirect URIs: https://www.keycloak.org/app* http://localhost*`, - ` Web origins: *`, - ` Login Theme: ${buildOptions.themeName}`, - ` Save (button at the bottom of the page)`, + `- Create a realm: Master -> AddRealm -> Name: myrealm`, + `- Enable registration: Realm settings -> Login tab -> User registration: on`, + `- Enable the Account theme (optional): Realm settings -> Themes tab -> Account theme: ${buildOptions.themeName}`, + ` Clients -> account -> Login theme: ${buildOptions.themeName}`, + `- Enable the email theme (optional): Realm settings -> Themes tab -> Email theme: ${buildOptions.themeName} (option will appear only if you have ran npx initialize-email-theme)`, + `- Create a client Clients -> Create -> Client ID: myclient`, + ` Root URL: https://www.keycloak.org/app/`, + ` Valid redirect URIs: https://www.keycloak.org/app* http://localhost* (localhost is optional)`, + ` Valid post logout redirect URIs: https://www.keycloak.org/app* http://localhost*`, + ` Web origins: *`, + ` Login Theme: ${buildOptions.themeName}`, + ` Save (button at the bottom of the page)`, ``, `- Go to 👉 https://www.keycloak.org/app/ 👈 Click "Save" then "Sign in". You should see your login page`, `- Got to 👉 http://localhost:8080/realms/myrealm/account 👈 to see your account theme`,