Cache a machine to machine access token used in rules

Hi @vigi

The trick is to use the rules’ config variables as the cache. A config variable can be updated with the Auth0 Management API:

managementClient.setRulesConfig

There’s some code to wrap around that, of course, but that is the heart of the idea.

John

1 Like