# SDK for getting a management API token

**URL:** <https://community.auth0.com/t/sdk-for-getting-a-management-api-token/90234>\
**Category:** Get Help\
**Tags:** jwt, management-api, auth0\
**Created:** [September 8, 2022, 11:49am UTC](https://community.auth0.com/t/sdk-for-getting-a-management-api-token/90234 "2022-09-08T11:49:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![artsiom.chyrkun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/artsiom.chyrkun/32/33801_2.png) [@artsiom.chyrkun](https://community.auth0.com/u/artsiom.chyrkun)\
**Post date:** [September 8, 2022, 11:49am UTC](https://community.auth0.com/t/sdk-for-getting-a-management-api-token/90234/1 "2022-09-08T11:49:53Z")

</div>

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:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/0/908eb0bb0e0c3cf9d2b85d2a10936fd655030cc8.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/8/c8300c9ad70716e0cbbae09dcb38b77f76aa2ac0.png)

I want to update user’s data using management API.  
For now I am using axios requests to get the token like [here](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-production). Can I use the node js library instead of handwritten requests or there are any better libraries for React apps?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 9, 2022, 12:51am UTC](https://community.auth0.com/t/sdk-for-getting-a-management-api-token/90234/4 "2022-09-09T00:51:33Z")

</div>

Hello @artsiom.chyrkun welcome to the community!

Yes, that’s what the [node-auth0](https://github.com/auth0/node-auth0) SDK is there for 🙂 The following blog may prove helpful as well:

> **[Overview of Auth0's Management API v2 to update client settings](https://auth0.com/blog/update-auth0-applications-using-the-management-api/?_gl=1*jhs9x0*rollup_ga*NjQ1Mjc3NzgyLjE2NDg2ODEyMDU.*rollup_ga_F1G3E656YZ*MTY2MjY4MTUyOS4zMC4xLjE2NjI2ODQ1OTkuMzQuMC4w&_ga=2.264360463.1219047837.1662567394-645277782.1648681205)**
>
> Use Auth0's Management API to perform administrative tasks on Auth0 clients.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 24, 2022, 12:52am UTC](https://community.auth0.com/t/sdk-for-getting-a-management-api-token/90234/5 "2022-09-24T00:52:29Z")

</div>

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