Actions Modules - Auth0 Docs

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

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:

To learn more about writing Actions with Actions Modules, read Write Your First Action Module.

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.

To learn more about Actions Modules Limitations, read Actions Limitations.

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.

Examples

Write Your First Action Module \n\nBuild your first Auth0 Action Module in the Auth0 Dashboard by creating the module, adding secrets and NPM dependencies, publishing a version, and using it to send logs to an external service.