Search code examples
jsondockerrealmkeycloak

Unexpected Server Error While Adding Realm in Keycloak on Docker Windows


I configured Keycloak, using Docker and I was trying to a add a realm file in Keycloak dashboard, but I got this error:"An unexpected server error has occurred". Any idea how to solve this?

I got this. enter image description here


Solution

  • According to this, from Version 7.0.1 onwards Keycloak doesn’t allow uploading js scripts through admin endpoints/console and requires to be deployed in a similar fashion to Java providers. Try using another version.