[keycloak-user] Keycloak restart necessary to access new resources?

christian lutz christianlutz at inovel.de
Wed Aug 30 13:34:26 EDT 2017


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


More information about the keycloak-user mailing list