Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

{{notification.header}} {{notification.message}} loading while accessing Keycloak Admin console

We initially had a dockerized 1.9.3 keycloak running on a virtual machine with us able to access Admin console. We had to later abandon this VM but we ended up cloning another VM with all the contents on it.

The dockerized keycloak is running behind a reverse proxy NGINX which is passing all the required headers per the below thread

http://keycloak-user.88327.x6.nabble.com/keycloak-user-ssl-apache2-difficulties-td1570.html

 RequestHeader set X-Forwarded-Proto "https" 
 RequestHeader set X-Forwarded-Port "443" 

I've tried a bunch of different things but no matter what i do I am running into the below error when I try accessing the Keycloak admin console

   {{notification.header}} {{notification.message}} loading....

Appreciate any help -

like image 846
Noosphere Avatar asked Oct 17 '22 03:10

Noosphere


2 Answers

You need to acces the database, table REALM and set the columns *_theme to null in order to load default theme:

update REALM set ACCOUNT_THEME = null, ADMIN_THEME = null, LOGIN_THEME = null where id = 'your-realm-name'
like image 68
JJCV Avatar answered Oct 21 '22 01:10

JJCV


Which navigate this using ?!

This same error appeared to me when accessing the keycloak admin console. But this only happens when you use the Internet Explorer browser.

Resolved when using Google Chrome browser.

like image 27
Wesley Dutra da Silva Avatar answered Oct 21 '22 01:10

Wesley Dutra da Silva