I am attempting to automate the creation of machine to machine Clients (called Applications in the UI), and as part of this I want to grant them access to an existing ResourceServer (API within the UI). In examining the documentation, I can see that ResourceServer does have an object “client” that is returned when from GetResourceServer. However, when I test this and hit my ResourceServer that has multiple applications assigned to it, the client field is not returned.
Is this the avenue for linking the two entities? If so, what am I missing?
I understand that you’ve observed behavior where the Management API Get a resource server endpoint does not return the client object.
After my tests, I found the same results. In this case, this is a bug and should return the client object. I will be reaching out to our Engineers to resolve this issue.
Once I have new information from our Engineers, I will relay that to you.