Auth0 Action Displays as Deployed but Fails to Execute
Last Updated:
Overview
An Action in the Auth0 Dashboard may display as Deployed but fail to execute for a trigger, such as when a user logs in or signs up. This occurs because deploying an Action only makes it available for use; it does not automatically attach it to a trigger. Attaching the Action to the appropriate trigger in the Auth0 Dashboard resolves the issue.
Applies To
- Auth0
- Actions
Cause
The term Deployed in an Action does not necessarily mean that it is attached to a trigger. Deployed means a version of the Action exists and is available for use by the Actions pipeline.
- If an Action not attached to a trigger is deployed, it does not execute until an administrator binds it to a trigger.
- If the Action is already attached to a trigger, such as Post-Login, that trigger starts using the newly deployed version.
- If an Action already attached to a trigger is deployed, it is ready to execute.
The list of triggers available can be found here: Explore Triggers.
Solution
How is an Action attached to a trigger?
Ensure the Action is attached to the appropriate trigger in the Auth0 Dashboard.
- Go to Actions > Triggers in the Auth0 Dashboard.
- Select the appropriate trigger.
- Drag the Action from the left sidebar to the flow.
- Select Apply to deploy the Action in the trigger.