# \#action

**URL:** https://community.auth0.com/tag/action/1747.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Can I get the access token as a string in a Rule or Action?](https://community.auth0.com/t/can-i-get-the-access-token-as-a-string-in-a-rule-or-action/88978)

<div class="topic-metadata">

**Author:** [@jgleason](https://community.auth0.com/u/jgleason)\
**Replies:** 8\
**Last updated:** [May 15, 2024, 9:46am UTC](https://community.auth0.com/t/can-i-get-the-access-token-as-a-string-in-a-rule-or-action/88978 "2024-05-15T09:46:33Z")

</div>

I have the following rule… async function (user, context, callback) { const axios = require('axios').default; const corp = await getCorp(user.email); context.accessToken\[\`https://.../api/corp\`\] =corp; callback(n…

---

## [Ability to store Object in the Action cache along with the string](https://community.auth0.com/t/ability-to-store-object-in-the-action-cache-along-with-the-string/98247)

<div class="topic-metadata">

**Author:** [@shobhit.singh](https://community.auth0.com/u/shobhit.singh)\
**Replies:** 3\
**Last updated:** [January 18, 2023, 7:49am UTC](https://community.auth0.com/t/ability-to-store-object-in-the-action-cache-along-with-the-string/98247 "2023-01-18T07:49:08Z")

</div>

Feature: Store Objects along with string in action cache Description: Going through action documentation, It has come to our understanding that cache is only able to store Strings. I want it to be able to store objects …

---

## [Organization Information on Preregistration/Postregistration action events?](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229)

<div class="topic-metadata">

**Author:** [@openbridge-james](https://community.auth0.com/u/openbridge-james)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 9:58am UTC](https://community.auth0.com/t/organization-information-on-preregistration-postregistration-action-events/90229 "2022-09-13T09:58:50Z")

</div>

User comes in on an invite to an organization. We want to capture that this is an invite registration, and not a regular registration at the time of registration, so we can choose to do some localized work. We do not …
