node-auth0 v7.0.0 : Announcement and changes
#1408
tusharpandey13
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
node-auth0 v7.0.0 is now generally available.
🧭 What changed
ManagementClientyou already use, nothing more.AuthenticationClient,UserInfoClient) is no longer part of node-auth0. Authentication now lives in@auth0/auth0-auth-jsand@auth0/auth0-server-js.🙂 If you only use the Management API
There are no breaking changes for your usage. The
ManagementClientAPI surface is unchanged from v6. Upgrading to v7 should be a version bump.🔐 If you use AuthenticationClient / UserInfoClient
This is the part that moves. The migration guide maps every method to its equivalent in the new authentication SDKs, and we ship tooling to automate most of it (see below).
🧩 Why we did this
We wanted to separate the authentication layer from the management layer, and there are a few reasons that matter for you, not just us:
@auth0/auth0-auth-jsis now the authentication engine behindauth0-nuxt,auth0-fastify,auth0-express,auth0-hono,auth0-react-router, andauth0-tanstackstart-react. We use it the same way you would.node-auth0's standalone authentication client.📘 Migrating
Alongside this release, we're deprecating v6 (
>=6.0.0 <7.0.0) on npm. You'll see a deprecation notice when installing it. To be explicit about what that does and doesn't mean:Questions, migration snags, or anything that felt worse than v6 : reply here. We're watching this thread.
All reactions