Having issues getting CSS and JS to load after upgrade to newest version of Keycloak

Hi,

Keycloak version 21.0.2 in Kubernetes with Bitnami chart.

I just upgraded to the newest version of Keycloak (21.0.2) and in Chrome, I’m getting these errors and my custom theme is broken.

In Firefox, only the script.js is being blocked.

Not sure what to do and I couldn’t find any instructions in the migration docs.

I hope someone can give me some direction on how to fix this.

Scott

Ok. Should have used the search first.

This seems to have fixed the problem. Funny the thread is fairly old and I didn’t have the setting set prior to the upgrade and everything was working fine. :person_shrugging: Oh well!

Scott

I was happy too soon. It seems to be a problem only with Chrome. Firefox works fine.

It’s something to do with the mime type being sent with css and js as an empty string (‘’).

Anyone have the same issue?

Scott

This seems to have resolved itself with the recent upgrade.

Scott

I seem to get the same issue for 21.1.1 running bare metal/JDK with nginx as a proxy.