Hooks are secure, self-contained functions that allow you to customize the behavior of Auth0 when executed for selected extensibility points of the Auth0 platform. Auth0 invokes Hooks during runtime to execute your custom Node.js code.
You can create, update, delete, enable/disable, and view Hooks from the Dashboard or Management API. To learn more, see:
Hooks may also be imported and exported using the Deploy Command-Line Interface (CLI) Tool.
Manage hook secrets
Hooks feature integrated secret management to securely store secrets while making them conveniently available in code. To learn more, see Hook Secrets.
The Hooks editor in the Dashboard has an integrated Runner, which allows you to test your code without leaving the editor.
You can view real-time logging information for specific configured Hooks using the Dashboard. To learn more, see View Logs for Hooks.