- Create custom modules with functions hosted by Auth0.
- Use the functions defined at each custom module within one or more Actions.
- Each custom module can define independent secrets and add dependencies to NPM modules.
Actions Modules are not bound to a particular Trigger or Action type, therefore the functions defined them can be reused across Actions bound to different Triggers.
Performance
By adopting Action Modules according to the Coding Guidelines, you can improve execution performance by sharing and reusing objects that have a costly instantiation process.However, the improvement is not guaranteed, as it depends on the specific use case, the implementation, and the load and frequency of executions.