[keycloak-user] Resource set
Pedro Igor Silva
psilva at redhat.com
Tue Jul 10 10:18:32 EDT 2018
Because usually, you would be more interested in the id in order to
correlate it with the actual resources in your application. We can easily
support an additional parameter (we already have this but it is not being
used at this endpoint) to choose whether or not details about resources
should be returned. If you are interested, please create a JIRA and I'll
try to include in next release.
On Tue, Jul 10, 2018 at 8:34 AM, Corentin Dupont <corentin.dupont at gmail.com>
wrote:
> Hi again,
>
> I noticed that the resource set endpoint returns only the resource id:
>
> $ curl -X GET "
> http://localhost:8080/auth/realms/waziup/authz/
> protection/resource_set?name=foo"
> -H "Authorization: Bearer $CLIENTTOKEN" | jq
>
> [
> "3f36f6b6-a1ca-452e-8008-855646bcd071"
> ]
>
> Why not returning the resource body? Currently I need to perform 2 requests
> to obtain the resource owner, from the resource name.
>
> Cheers
> _______________________________________________
> 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