# I would like to know the auth token for testing

**URL:** <https://community.auth0.com/t/i-would-like-to-know-the-auth-token-for-testing/79047>\
**Category:** Get Help\
**Tags:** api, auth0\
**Created:** [March 1, 2022, 2:58am UTC](https://community.auth0.com/t/i-would-like-to-know-the-auth-token-for-testing/79047 "2022-03-01T02:58:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kohei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kohei/32/13822_2.png) [@Kohei](https://community.auth0.com/u/Kohei)\
**Post date:** [March 1, 2022, 2:58am UTC](https://community.auth0.com/t/i-would-like-to-know-the-auth-token-for-testing/79047/1 "2022-03-01T02:58:37Z")

</div>

Do you have Auth tokens for testing?  
This is to improve efficiency, as we issue and test tokens every time their authentication expires.  
Please let me know.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [March 1, 2022, 2:25pm UTC](https://community.auth0.com/t/i-would-like-to-know-the-auth-token-for-testing/79047/2 "2022-03-01T14:25:28Z")

</div>

Hi @Kohei ,

I’d recommend either enabling the [Resource Owner Password](https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow) Grant for a test application, which would let you automate exchanging credentials for a token without needing an interactive flow, or configuring your applicaton/APIs to accept a token signed with an alternative key (i.e. not one from Auth0, a JWT token you created with a mock service for example).

Either way, you should make sure this is only available in your development/testing environment.

---

<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:** [March 16, 2022, 2:26pm UTC](https://community.auth0.com/t/i-would-like-to-know-the-auth-token-for-testing/79047/3 "2022-03-16T14:26:01Z")

</div>

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