Extensibility PointsBeta

Hooks allow you to customize the behavior of Auth0 with Node.js code. They are essentially Webtask, but Hooks are executed only against selected extensibility points, which are the serverless option that's analogous to the webhooks that come with a server. The following is a list of currently available extensibility points:

  • Credentials Exchange: change the scopes and add custom claims to the tokens issued by the Auth0 API's POST /oauth/token endpoint
  • Pre-User Registration: prevent user registration and add custom metadata to a newly-created user
  • Post-User Registration: implement custom actions that execute asynchronously from the Auth0 authentication process after a new user registers and is added to the database