Repository navigation
Replies: 2 comments 1 reply
|
This feature is broken. I think keycloak developers should either fix or remove it. |
1 reply
|
Any news on this topic? I am trying to use JS policies in 21.0.1 but somehow I cannot even get them to show up in the list under "Create policy" -> "Choose a policy type". My JAR |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
After deploying the script JAR and running bin/kc.sh build (following the instructions), one would expect the added JS policies to appear under the "Policies" tab, however, the newly added policies appear in the "Create policy" dialog.
Keycloak version: 19.0.2
JAVA Version:
keycloak-scripts.json:
js-script-policy.js:
js-script-policy-2.js:
The "Policies" tab doesn't have the newly added JS policies:

Instead, the new JS policies are present in the "Create policy" -> "Choose a policy type":

When the new policy is chosen in the "Choose a policy type" dialog, initially all the fields are empty, but after filling the Name and click save, the policy code appears:

Could someone please advise if this is expected behavior?
Do I miss something?
All reactions