I have multiple auth0 actions running in my tenant. In one action , there are many lines of code being executing to update a variable. Need to use that variable value in another action. How can i achieve this ? I tried using api.cache but since caching is not transaction specific, it is a risk to use in case of simultaneous logins. Is it possible to set claim in token in one action then log the api.idToken to see the value in it but doesnt work
Welcome back to the Auth0 Community!
Thank you for posting your question. Unfortunately, actions currently do not support global objects, so caching is the only way to store and retrieve data that persists in executions.
Thanks
Dawid
1 Like