# Post registration flow doesn't send a post request

**URL:** <https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [December 1, 2021, 9:28am UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034 "2021-12-01T09:28:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![moonwizio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/moonwizio/32/33375_2.png) [@moonwizio](https://community.auth0.com/u/moonwizio)\
**Post date:** [December 1, 2021, 9:28am UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/1 "2021-12-01T09:28:02Z")

</div>

Hello. I`m trying to send my server a post request every time a new user is created. So I have a post registration action flow set up like this:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/9/c971d95dd65ad0b6fa198c407a1cd7b45fee1c37.png)

and it’s code is very simple. but it doesn’t seem to work.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/3/93a7b861c572953e9de83e25f3a34141a56e8683.png)

Am i doing something wrong?

Thank you

---

<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 1, 2021, 8:08pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/3 "2021-12-01T20:08:13Z")

</div>

Hi @moonwizio,

Welcome to the Auth0 Community!

I understand that you’ve not been able to get your Post-Registration Action script to work with a post request.

In this case, could you please try using the built-in Actions debugger interface to see what error you are getting?

The debugger interface is located on the left column with the _Play_ icon:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/4/f4a847f7f77b73fb8528e04962c85ed37caf26a8.jpeg)

After that, could you please share with me the error you find?

Thank you.

---

<div class="post-metadata">

**Author:** ![moonwizio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/moonwizio/32/33375_2.png) [@moonwizio](https://community.auth0.com/u/moonwizio)\
**Post date:** [December 14, 2021, 8:59am UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/4 "2021-12-14T08:59:01Z")

</div>

Sorry for the late response, there is no Error. When I press play I do get the call to execute. But whenever a new user is created, it is not happening.

---

<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, 6:22pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/6 "2021-12-14T18:22:19Z")

</div>

Hi @moonwizio,

Thank you for your response.

Firstly, I noticed that your `axios.post` request is not sending any data.

In this case, could you try sending some data in your request with the following syntax:

`axios.post("URL", { Data Object } )`

Please let me know how this works for you.

Thank you.

---

<div class="post-metadata">

**Author:** ![moonwizio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/moonwizio/32/33375_2.png) [@moonwizio](https://community.auth0.com/u/moonwizio)\
**Post date:** [December 19, 2021, 12:14pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/7 "2021-12-19T12:14:01Z")

</div>

Hello. I added an empty data object with the request but it did not help. I noticed that it does work when i`m creating a user via email. but not working when creating a user via facebook or google

---

<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 21, 2021, 5:57pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/8 "2021-12-21T17:57:18Z")

</div>

Hi @moonwizio,

Thank you for your reply.

> [@moonwizio](#):
>
> I noticed that it does work when i`m creating a user via email. but not working when creating a user via facebook or google

This is very informative because the Post-User Registration Action does not work with SSOs like Facebook and Google. The Post-User Registration Action only works with **Database** and **Passwordless connections**.

Please look at [this community topic](https://community.auth0.com/t/auth0-pre-registration-hook-using-sso-registration/69695/5) if you have a moment, for further explanation.

If you have any further questions, please do not hesitate to reach out.

Thank you.

---

<div class="post-metadata">

**Author:** ![moonwizio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/moonwizio/32/33375_2.png) [@moonwizio](https://community.auth0.com/u/moonwizio)\
**Post date:** [December 22, 2021, 9:21am UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/9 "2021-12-22T09:21:46Z")

</div>

So is there any way for me to know when a new user was created in auth0 via SSO?

---

<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:** [January 3, 2022, 6:02pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/10 "2022-01-03T18:02:42Z")

</div>

Hi @moonwizio,

Thank you for your reply.

> [@moonwizio](#):
>
> is there any way for me to know when a new user was created in auth0 via SSO?

Yes! To do so, you can use the Management API v2 [Get a user endpoint](https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id) and search for the _created\_at_ attribute.

Hoped this helps!

Please let me know if you have any other questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 21, 2022, 6:11pm UTC](https://community.auth0.com/t/post-registration-flow-doesnt-send-a-post-request/74034/11 "2022-12-21T18:11:21Z")

</div>


