# Resource Owner Password Flow works fine with Postman but throws 401 Unauthorised with Axios Node.js

**URL:** <https://community.auth0.com/t/resource-owner-password-flow-works-fine-with-postman-but-throws-401-unauthorised-with-axios-node-js/68537>\
**Category:** Get Help\
**Tags:** management-api, login, auth0\
**Created:** [August 25, 2021, 2:08pm UTC](https://community.auth0.com/t/resource-owner-password-flow-works-fine-with-postman-but-throws-401-unauthorised-with-axios-node-js/68537 "2021-08-25T14:08:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![assadullahch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/assadullahch/32/30268_2.png) [@assadullahch](https://community.auth0.com/u/assadullahch)\
**Post date:** [August 27, 2021, 8:07am UTC](https://community.auth0.com/t/resource-owner-password-flow-works-fine-with-postman-but-throws-401-unauthorised-with-axios-node-js/68537/7 "2021-08-27T08:07:01Z")

</div>

@dan.woda I removed the env variables and pasted the values directly in my code. Still there’s no luck.

Client id, domain and audience are the same exact I am using with Postman.

The strange thing is, there are no logs in Auth0 related to 401.

---

_[View the full topic](https://community.auth0.com/t/resource-owner-password-flow-works-fine-with-postman-but-throws-401-unauthorised-with-axios-node-js/68537)._
