[keycloak-user] Re-2: Keycloak restart necessary to access new resources?
Pedro Igor Silva
psilva at redhat.com
Thu Aug 31 09:13:16 EDT 2017
Can you please fill this JIRA [1] with more information about your setup ?
I will try to reproduce this behavior, please provide the following
information there:
* Which adapter are you using ? E.g.: Wildfly, Spring Boot, Tomcat.
* Can you provide the keycloak.json file you are using in your application ?
[1] https://issues.jboss.org/browse/KEYCLOAK-5386
On Thu, Aug 31, 2017 at 3:17 AM, christian lutz <christianlutz at inovel.de>
wrote:
> 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
> _______________________________________________
> 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