[keycloak-user] Custom Theme error message {{notification.header}} {{notification.message}}
Aaron Echols
aechols at bfcsaz.com
Thu May 23 12:42:55 EDT 2019
It sounds like you accidentally applied the 'base' theme. The 'base' theme
shouldn't be a selectable theme in the properties, it's required for other
themes, but should be hidden in the UI. I had this issue as well in the
master realm and locked myself out. To resolve it, do the following:
* kcadm.sh config credentials --server http(s)://server/auth --realm
<realm-name> --user <user>
* kcadm.sh get realms/<realm-name> > <realm-name>.json
* vi <realm-name>.json
Look for the following in the json, and modify the line that has the base
theme in it:
"loginTheme" : "keycloak",
"accountTheme" : "keycloak",
"adminTheme" : "base",
"emailTheme" : "keycloak",
* kcadm.sh update realms/<realm-name> -f <realm-name>.json
https://www.keycloak.org/docs/latest/server_admin/index.html#realm-operations
--
Aaron Echols
On Thu, May 23, 2019 at 4:54 AM Ondrej Scerba <Ondrej.Scerba at zoomint.com>
wrote:
> Hi,
>
> I'm trying to implement custom theme for Keycloak and I'm receiving error
> when accessing admin page "{{notification.header}}
> {{notification.message}}".
>
> Any clue what could be wrong and I how can I fix it?
>
> Thanks,
> Ondrej
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list