SDK for getting a management API token

Hi there.
I am building an application that uses Next JS on the frontend side, Apollo+GraphQL and Prisma as ORM on the backend side.
My current API and applications look like this:

I want to update user’s data using management API.
For now I am using axios requests to get the token like here. Can I use the node js library instead of handwritten requests or there are any better libraries for React apps?

Hello @artsiom.chyrkun welcome to the community!

Yes, that’s what the node-auth0 SDK is there for :slight_smile: The following blog may prove helpful as well:

Hope this helps!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.