Hooks

Hooks allow you to extend the Auth0 platform with custom code.

What are Hooks?

Hooks allow you to customize the behavior of Auth0 using Node.js code that is executed against extensibility points (which are comparable to webhooks that come with a server). Hooks allow you modularity when configuring your Auth0 implementation, and extend the functionality of base Auth0 features.

Hooks vs. Rules

Hooks will eventually replace Rules, the current Auth0 extensibility method. Currently, you can use both Hooks and Rules, but Auth0 will implement new functionality in Hooks.

If you created your Hook early on during the beta testing period, your Webtask Editor window might not populate with the schema required to successfully use the Test Runner. If that is the case, you'll need to save the Hook's code, delete the Hook, and create a new Hook using your existing code.

Work with Hooks

Use the Webtask Editor

You can edit Hooks directly using the Webtask Editor. Please see the Webtask documentation for detailed information.