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

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” to the whitelist but it didn’t work.

Thank you.

Hi @anil.bunarci

Welcome to the Auth0 Community!

This doc explains where outbound requests from Auth0 originate:

1 Like

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