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.