# Post user registration action is not triggered

**URL:** <https://community.auth0.com/t/post-user-registration-action-is-not-triggered/98458>\
**Category:** Get Help\
**Tags:** actions\
**Created:** [January 18, 2023, 11:44pm UTC](https://community.auth0.com/t/post-user-registration-action-is-not-triggered/98458 "2023-01-18T23:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![donguyen426](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/donguyen426/32/42787_2.png) [@donguyen426](https://community.auth0.com/u/donguyen426)\
**Post date:** [January 18, 2023, 11:44pm UTC](https://community.auth0.com/t/post-user-registration-action-is-not-triggered/98458/1 "2023-01-18T23:44:47Z")

</div>

I have the exact same problem as described in this now closed topic: [Post Signup Action Not Working - #7 by thihara1](https://community.auth0.com/t/post-signup-action-not-working/67568/7)

- I created the below custom action, added it to the Post User Registration flow

```auto
const axios = require("axios");

exports.onExecutePostUserRegistration = async (event, api) => {
  try {
    console.log(`[INFO] NEW USER`);
    console.log(event.user);
    const config = { 'content-type': 'application/json' };
    const response = await axios.post(event.secrets.NANNY_API_URL, event.user, config);
    console.log(response.data);
  } catch (error) {
    console.log(error);
  }
};

```

- I tested the action using the Test button. The action console showed the expected response from the backend
- Now tried to sign up and the action is not triggered at all. “Success Signup” is added to the log but there is NO triggered action in the Details tab. I also installed the Real-time Webstack Logs extension, there was nothing. If you look at the code, at least the line “[INFO] NEW USER” should be printed.

I’m stuck.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 23, 2023, 3:44pm UTC](https://community.auth0.com/t/post-user-registration-action-is-not-triggered/98458/3 "2023-01-23T15:44:01Z")

</div>

Hi @donguyen426,

Welcome to the Auth0 Community!

What type of connection are you signing up with? Post-signup actions only work with Auth0 DB connections.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 28, 2023, 1:21pm UTC](https://community.auth0.com/t/post-user-registration-action-is-not-triggered/98458/4 "2023-03-28T13:21:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
