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

Pedro Igor Silva psilva at redhat.com
Wed Aug 30 16:21:18 EDT 2017


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
>


More information about the keycloak-user mailing list