# Advantages of using auth0-node library than direct network calls

**URL:** <https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796>\
**Category:** Get Help\
**Created:** [June 3, 2021, 6:51am UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796 "2021-06-03T06:51:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amal.jose](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amal.jose/32/29768_2.png) [@amal.jose](https://community.auth0.com/u/amal.jose)\
**Post date:** [June 3, 2021, 6:51am UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796/1 "2021-06-03T06:51:34Z")

</div>

I am now using the basic network calls using axios from my server. It is working pretty well, wondering if I need to think of migrating to the auth0-node library.

Any idea if the auth0-node library is handling any stuff like:

- Performance
- Security
- Etc

Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 3, 2021, 3:40pm UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796/3 "2021-06-03T15:40:32Z")

</div>

Hi @amal.jose,

Welcome to the Community!

The library is a client library for the Auth0 Authentication and Management API. It is regularly supported and updated by Auth0 and intended for production use.

---

<div class="post-metadata">

**Author:** ![amal.jose](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amal.jose/32/29768_2.png) [@amal.jose](https://community.auth0.com/u/amal.jose)\
**Post date:** [June 4, 2021, 11:56am UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796/4 "2021-06-04T11:56:07Z")

</div>

@dan.woda

Thanks for the reply,

I refactored from plain network calls to the library.  
Because:

- Library has caching for token
- No need to stress on adding extra code for handling network calls

The refactor was smooth.

Thanks again ✌🏻

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 4, 2021, 5:53pm UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796/5 "2021-06-04T17:53:04Z")

</div>

Thanks for the follow up!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 19, 2021, 5:53pm UTC](https://community.auth0.com/t/advantages-of-using-auth0-node-library-than-direct-network-calls/63796/6 "2021-06-19T17:53:34Z")

</div>

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