Which version are you using ? I remember fixing a similar issue targeted to
latest released version.
Regards.
Pedro Igor
On Wed, Aug 30, 2017 at 2:34 PM, christian lutz <christianlutz(a)inovel.de>
wrote:
Hello,
I just stumbled over a behavior I am not sure if intended or not.
I add via the Admin REST API new resources to an existing client via
realm.clients().get(xy).authorization.resources().create(newResource);
Then I have a simple javascript policy checking if a user is allowed to
access this specific resource.
It always fails for recently added resources. But after I restart the
keycloak it works.
I tried to login with different browser the same behavior.
Do I have to call a refresh or similar so the javascript policy is able to
see the added resources? Or is this a bug?
Sincerely
Christian
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user