Every Auth0 Action receives two objects when its trigger fires:Documentation Index
Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- The event object is read-only transaction context: details about the user, request, client, tenant, and connection at the moment the trigger fired.
- The api object exposes the methods your Action can call to change the outcome of the transaction, such as denying access, adding token claims, triggering challenges, or caching data.
Resources
| Read⊠| To learn⊠|
|---|---|
| Actions Overview | How Auth0 Actions work and what you can accomplish with them. |
| Explore Triggers | When each trigger fires and how Actions attach to it. |
| Actions Coding Guidelines | Write clear, concise, and secure Actions code with our coding guidelines. |
| Write Your First Action | How to build, test, and deploy an Action end to end. |