Hi @linda,
Welcome to the Auth0 Community!
When I previously cached API tokens with Actions, I managed to do it with this script.
Would you be able to give that a try and let me know if you are still experiencing issues with the cache items not persisting?
And if so, could you provide me an example of your action script code with sensitive data redacted?
Thanks,
Rueben