auth0 / node-auth0

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

v4: `scope` no longer supported in `ManagementClient` #913

Closed oliversalzburg closed 1 year ago

oliversalzburg commented 1 year ago

Checklist

Description

I'm trying to port some code over to the v4, as the v3 types are a mess. I noticed that I can no longer pass a scope to the constructor of the ManagementClient, which was possible in v3.

Am I missing something about this?

Reproduction

  1. Try to pass a scope to the constructor of ManagementClient.

Additional context

No response

node-auth0 version

v4.0.0-beta.7

Node.js version

21

oliversalzburg commented 1 year ago

I guess I missed the migration guide 😅 https://github.com/auth0/node-auth0/blob/beta/v4_MIGRATION_GUIDE.md#options-1