# How do I cache a m2m token in a Auth0 Action

**URL:** <https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664>\
**Category:** Get Help\
**Tags:** node, actions\
**Created:** [July 26, 2022, 2:37pm UTC](https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664 "2022-07-26T14:37:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jgleason](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jgleason/32/25904_2.png) [@jgleason](https://community.auth0.com/u/jgleason)\
**Post date:** [July 26, 2022, 2:41pm UTC](https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664/2 "2022-07-26T14:41:21Z")

</div>

Based on this answer ([Caching resources in Actions](https://community.auth0.com/t/caching-resources-in-actions/57540)) and this documentation ([Cache Expensive Resources in Rules](https://auth0.com/docs/customize/rules/cache-resources)) it looks like I need to use Rules instead?

---

_[View the full topic](https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664)._
