Auth0 Actions uses modern JavaScript’s promise-based programming model, a basis for asynchronous functions in Actions.
What can you do with Actions?
What an Action can do is determined by where it is executed within the Auth0 runtime environment.Signup & Login: When a user is added to a database or passwordless connection.
Signup & Login: When a user is added to a database or passwordless connection.
MFA Notifications: When using SMS as a factor for Multi-factor Authentication (MFA) or to configure a custom provider.
MFA Notifications: When using SMS as a factor for Multi-factor Authentication (MFA) or to configure a custom provider.
Password reset: When a password reset request is initiated.
Password reset: When a password reset request is initiated.
Key benefits of Actions
Improved developer experience
- When editing an Action within the , you will have access to rich type information and inline documentation about what is possible within each trigger, which makes it easy to discover what capabilities each Trigger supports.
- An Action can be edited and tested without affecting the version that is currently serving production traffic.
- If an issue is found within an Action, it can be rolled back to a previous version.
Reuse custom functions
- Create, manage, and share functions between Actions using Actions Modules.
Access to npm packages
- You can use nearly all public
npmpackages within Actions.
Observability
- When Auth0 executes Actions, it captures key metrics about them and links them to Auth0 Logs.
- When debugging, use the Actions Real-time Logs feature.
Multiple Actions on every trigger
- Every Action trigger supports multiple independent Actions.
Get started
- Write your first Action.
- Review the current Action Coding Guidelines.
- Review the current Actions Limitations.