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.audience
value for your API, which you can find in the API field of your API in Dashboard > Applications > APIs. To do this, you would create the following rule:
audience
value for the API is http:://todoapi2.api
, so this is the audience we will refuse. If anyone tries to access the API with this audience
value, they will be denied access and receive an HTTP 401
response.
access_token_authz
), you will receive user permissions in your Access Tokens. To add user roles to tokens, you would use the context.authorization
object when you create the following rule:
CLIENT_ID
placeholder value with your application’s Client ID: