You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call method GetPolicies am I getting all existing policies for my realm and client but when I try to access variable Resources in PolicyRepresentation I am getting always null and the resources exist because I have created them through admin ui.
Can be problem with mapping of the resources ?
Expecting behavior
Able to get resources through PolicyRepresentation.
The text was updated successfully, but these errors were encountered:
Hi, Could you show your code? How do you query the policies?
Unfortunately I cannot find a good documentation for resource-server API, so I cannot validate that we have a correct representation. But I found at least one error here: https://github.com/Nerzal/gocloak/blob/master/client.go#L1999
Issue description
When I call method GetPolicies am I getting all existing policies for my realm and client but when I try to access variable Resources in PolicyRepresentation I am getting always null and the resources exist because I have created them through admin ui.
Can be problem with mapping of the resources ?
Expecting behavior
Able to get resources through PolicyRepresentation.
The text was updated successfully, but these errors were encountered: