auth0/node-auth0

Field 'enabled_clients' is not included in the Connection definition

jkillian-psc opened this issue · 9 comments

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Connection interface is missing enabled_clients field that is included in the response. The Management client API documentation for the operation (https://auth0.com/docs/api/management/v2/connections/get-connections-by-id) also makes no mention of the field either.

image

Reproduction

  1. Initialize the Auth0 Management API client using library
  2. Call the get( ) method on the ConnectionsManager
  3. Print the result returned from the method

Additional context

No response

node-auth0 version

4.0.1

Node.js version

18.16.1

Thanks for adding an issue, I am looking into this and will report back when I have more info. For the time being, you might want to unblock yourself typewise with some unfortunate casting or manual typing.

FWIW, we're also updating our client from an older version to 4.0.1 and we noticed this field is missing from the newer typings as well.

I see it's still in the actual object though, so we'll unblock with some manual typing & sanity checks, but I'm chiming in here to note @jkillian-psc isn't the only one seeing this.

Thanks for that @CooperBills , yeah i have confirmed this with other teams and working on getting this fixed.