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?
Welcome to the Auth0 Community!
I understand that you’ve observed behavior where the Management API Get a resource server endpoint does not return the
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.
Are you able to confirm that this would be the correct way to add a new Client to an existing ResourceServer?
Thank you for your continued patience.
I have received an update from Engineers on this issue.
It appears that the
client object is not meant to be returned as described in the Management API v2 documentation.
Given this typo, we will be fixing the Management API v2 documentation to reflect the correct response from the Get a resource server endpoint.
If there are any further questions or concerns, please don’t hesitate to reach out.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.