Level: Beginner Technologies: PatternFly, React, JSX Summary: "Keycloak Man" theme that extends Account Console Target Product: Keycloak Source: https://github.com/keycloak/keycloak-quickstarts
The extend-account-console
quickstart demonstrates how to create a new account theme that changes colors and fonts.
It also demonstrates two different ways you can add new pages to the account console application.
The theme is based on Keycloak Man, the retired mascot of the Keycloak project.
There is nothing required to build this project. However, if you want to do the JSX example, you will need to install npm on your system.
It is also recommended that you read about Keycloak themes in the Server Developer guide.
- Do one of the following:
- Deploy the theme as a JAR (recommended): run
mvn clean install
and copytarget/keycloak-man-theme.jar
to<keycloak install>/standalone/deployments
. - Copy the
keycloak-man
folder to your<keycloak install>/themes
directory.
- Deploy the theme as a JAR (recommended): run
- Open Keycloak Admin Console.
- Go to the
Realm Settings-->Themes
tab. - Set Account Theme to
keycloak-man
- Go to the account console.
You can access the account console with a URL like: http://localhost:8080/auth/realms/master/account.
- Make sure you have a Keycloak server running with an
admin
user andadmin
password in themaster
realm. - You need to have Chrome browser installed and updated to the latest version.
- Run
mvn test -Pkeycloak-remote
.