Caching Access Tokens and Regenerate when Expired/not Available

Overview

This article describes how to call an external API(s) during the Action pipeline for varying reasons (store or retrieve user data etc…).

Solution

The Actions API object has the api.cache sub object which is a starting reference on how to access this functionality in Actions: Actions Triggers: post-login - API Object

Another important point to acknowledge with this goal is the cached data limitations as stated here: Cached data