Actions Modules allow you to create, manage, and share reusable code across different Actions within your Auth0 Tenant. Previously, each Action operated independently, making it difficult to share common functions between them without using external dependencies like NPM Modules. With Actions Modules, now it’s possible to:Documentation Index
Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- 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 in them can be reused across Actions bound to different Triggers.
Performance
By adopting Actions 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.