I need to create a custom JS policy where I can write some code, but only below options are available
I enabled the features but unable to enable “upload-scripts”
ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-3) Uncaught server error: java.lang.RuntimeException: Script upload is disabled
at org.keycloak.authorization.policy.provider.js.JSPolicyProviderFactory.throwCanNotUpdatePolicy(JSPolicyProviderFactory.java:129)
at org.keycloak.authorization.policy.provider.js.JSPolicyProviderFactory.onCreate(JSPolicyProviderFactory.java:59)
at org.keycloak.authorization.policy.provider.js.JSPolicyProviderFactory.onCreate(JSPolicyProviderFactory.java:20)
at org.keycloak.models.utils.RepresentationToModel.toModel(RepresentationToModel.java:1295)
at org.keycloak.authorization.AuthorizationProvider$3.create(AuthorizationProvider.java:349)
at org.keycloak.authorization.admin.PolicyService.create(PolicyService.java:149)
at org.keycloak.authorization.admin.PolicyService.create(PolicyService.java:120)
Any help here ?