npm
packages, and can connect external integrations that enhance your overall extensibility experience. To learn more about what Actions offer, read Understand How Auth0 Actions Work.To help with your migration, we offer guides that will help you migrate from Rules to Actions and migrate from Hooks to Actions. We also have a dedicated Move to Actions page that highlights feature comparisons, an Actions demo, and other resources to help you on your migration journey.To read more about the Rules and Hooks deprecation, read our blog post: Preparing for Rules and Hooks End of Life.app_metadata
or user_metadata
using the auth0
object, which is a specially-restricted instance of ManagementClient
(defined in the node-auth0 Node.js client library) and provides limited access to the Auth0 Management API. To learn more, read Rules Execution Best Practice.
To access additional endpoints from inside Rules, you have to use another version of the library.
auth0.accessToken
, is limited to the read:users
and update:users
scopes. If you require a broader range of scopes, you can request a token using the Client Credentials Flow. See Get Management API Access Tokens for Production.2.9.1
of the library, then query the list of users and logs the users to the console (to be inspected with the Real-time Webtask Logs Extension).