auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
633 stars 309 forks source link

Can you please add the undocumented organisation search API to the client library? #976

Closed matmunn closed 9 months ago

matmunn commented 9 months ago

Checklist

Describe the problem you'd like to have solved

There exists an undocumented endpoint for searching organisations at https://manage.auth0.com/api/organizations/search that is used by the Auth0 console. Could this please be documented and added to the client library so that I can make use of searching through my organisations using the Management API?

Describe the ideal solution

The organisation search endpoint being documented and usable in the client libraries.

Alternatives and current workarounds

No response

Additional context

No response

frederikprijck commented 9 months ago

Our SDK does not target that URL, so endpoints under that URL are not things we add to the SDK.

Our SDK wraps https://auth0.com/docs/api/management/v2, which is located at https://[tenant].auth0.com/api/v2.

Therefore we can not accomodate for this request.

matmunn commented 9 months ago

If that's the case it seems like a pretty big oversight that I can't filter organisations from the list endpoint

frederikprijck commented 9 months ago

I understand that, and I recommend reaching out and providing feedback here. From our SDK point of view, we can only support existing endpoints.

matmunn commented 9 months ago

Thanks for directing me to the correct spot!