Skip to main content
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:
  • 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. By adopting Actions Modules according to the Coding Guidelines, you may improve execution performance by sharing and reusing objects that have a costly instantiation process.