Post User Registration Action is not Triggered

Overview

This article addresses an issue where a Post User Registration Action fails to trigger as expected after a new user completes registration. 

Applies To

  • Database connections

  • Passwordless connections

Cause

This issue can occur for several reasons:

  • The Post User Registration Action is not in a DEPLOYED status.

  • The Action is not added to the Post User Registration Flow.

  • The Action is being used with an unsupported connection type, such as a Social or Enterprise connection.

Solution

Follow these steps to troubleshoot the issue:

  1. Verify the Action is in a DEPLOYED status, not BUILT.

  2. Confirm the Action is added to the Post User Registration Flow.

  3. Confirm the Action is used with a Database or Passwordless connection. Post User Registration Actions do not run for Social or Enterprise connections.

  4. To monitor the execution, view the Action logs.

  5. Create and deploy a sample Action for testing:

    
    
    exports.onExecutePostUserRegistration = async (event, api) => {
      console.log(event.user);
    };
    
    
  6. Sign up as a new user in the application or use the POST /api/v2/users Management API endpoint to create a user.

  7. Check the Action logs for the console.log output.

  8. If the output is displayed, the Action is triggering correctly.

  9. If the issue persists after following these steps, contact Auth0 support.

Recommended content

No recommended content found...