# Post registration action firing for all users & no OTP being sent

**URL:** <https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776>\
**Category:** Get Help\
**Tags:** auth0, login\
**Created:** [December 13, 2021, 11:00pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776 "2021-12-13T23:00:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordansh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jordansh/32/33736_2.png) [@jordansh](https://community.auth0.com/u/jordansh)\
**Post date:** [December 13, 2021, 11:00pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776/1 "2021-12-13T23:00:50Z")

</div>

In my staging tenant I am having the following issues occur.

1. The post registration action is firing everytime regardless whether the user already exists or not.
2. I am using passwordless and I am not getting any OTP being sent.

These problems do not seem to be occurring in my production tenant, only in my staging tenant.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 14, 2021, 11:21pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776/3 "2021-12-14T23:21:43Z")

</div>

Hi @jordansh,

Welcome to the Auth0 Community!

First, I have gone ahead and tested the Post-User Registration Action and did not find the same results. During the sign-up flow, I found the Post-User Registration Action only execute for non-existent users (new users). Given that, I can confirm that the Post-Registration Action is working correctly.

Next, I understand that you have not been able to get your OTP sent to you when using Passwordless.

Could you please elaborate what type of Passwordless you are using, if it is _SMS_ or _Email_?

Thank you.

---

<div class="post-metadata">

**Author:** ![jordansh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jordansh/32/33736_2.png) [@jordansh](https://community.auth0.com/u/jordansh)\
**Post date:** [December 14, 2021, 11:29pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776/4 "2021-12-14T23:29:09Z")

</div>

Hi Ruben, both issues appear to be fixed after I added my own email provider. I am not sure why but it appears that when using the Auth0 email provider, if that ever fails it seems to break the actions.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 14, 2021, 11:37pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776/5 "2021-12-14T23:37:48Z")

</div>

Hi @jordansh,

Thank you for your prompt response!

Yes, there recently have been latency issues with the built-in Auth0 email provider. In general, the Auth0 email provider should only be used for testing purposes.

In this case, I strongly recommend you to use a custom email provider, which you have already done.

Doing so will resolve the issue related to email latencies or disruptions.

I hope this addresses your concerns, and please let me know if you have any further questions.

Thank you.

---

<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:** [December 29, 2021, 11:37pm UTC](https://community.auth0.com/t/post-registration-action-firing-for-all-users-no-otp-being-sent/74776/6 "2021-12-29T23:37:49Z")

</div>

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