8000 How to perform simple customization to the account theme? · keycloak keycloak · Discussion #55529 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

If you only need to swap the logo (and maybe tweak a few colors), you don't need Keycloakify or a React rebuild for the account console. You can ship a minimal extending theme on top of keycloak.v3 using just theme.properties and your static assets.

Directory layout (mounted under themes/ or packaged in a JAR with META-INF/keycloak-themes.json):

my-account-theme/
└── account/
    ├── theme.properties
    └── resources/
        ├── img/
        │   └── logo.svg
        └── css/
            └── styles.css   # optional

theme.properties:

parent=keycloak.v3
logo=/img/logo.svg
logoUrl=https://your-company.example.com
styles=css/styles.css

Then set Realm settings -> Themes -> Account theme to m…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nwintering
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
0