# Where are the post user registration hooks originated from? (CORS issue)

**URL:** <https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630>\
**Category:** Get Help\
**Tags:** app\_metadata, cors, hooks\
**Created:** [August 26, 2021, 2:15pm UTC](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630 "2021-08-26T14:15:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anil.bunarci](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anil.bunarci/32/12751_2.png) [@anil.bunarci](https://community.auth0.com/u/anil.bunarci)\
**Post date:** [August 26, 2021, 2:15pm UTC](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630/1 "2021-08-26T14:15:56Z")

</div>

Hi all,

I’m trying to create a new record in the DB after a user registered to the app, and pass some data from that record to app\_metadata.

To do that, I created a Post User Registration Hook and configured it to send a post request to the server of my application. As expected, these requests are being blocked by CORS policy. If I set the origin to “\*”, everything works fine. But as you can guess, I can’t allow every origin.

So, I need to add that domain to the whitelist, however I couldn’t find any information about that.

I tried to add some domains like “[https://tenant-name.us.auth0.com](https://tenant-name.us.auth0.com)” to the whitelist but it didn’t work.

Thank you.

---

<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:** [August 30, 2021, 9:02pm UTC](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630/3 "2021-08-30T21:02:00Z")

</div>

Hi @anil.bunarci

Welcome to the Auth0 Community!

This doc explains where outbound requests from Auth0 originate:

> **[Auth0 IP Addresses for Allow Lists](https://auth0.com/docs/secure/security-guidance/data-security/allowlist)**
>
> Lists Auth0 IP addresses for use in allow lists for inbound traffic behind a firewall.

---

<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:** [September 14, 2021, 9:02pm UTC](https://community.auth0.com/t/where-are-the-post-user-registration-hooks-originated-from-cors-issue/68630/4 "2021-09-14T21:02:52Z")

</div>

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