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

christian lutz christianlutz at inovel.de
Thu Aug 31 02:17:01 EDT 2017


Good Morning,


I am running on 3.2.1.Final, sorry that I forgot to add this.


kind regards.
Christian 





Original Message processed by David® 
Re: [keycloak-user] Keycloak restart necessary to access new resources? 30. August 2017, 22:21 
From Pedro Igor Silva 
To christian lutz 
Cc keycloak-user 

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 at 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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user

To: psilva at redhat.com
Cc: keycloak-user at lists.jboss.org


More information about the keycloak-user mailing list