Action to Store the Auth0 user id in a remote system doesnt work

Hi @robliou01,

Thanks for reaching out to the Auth0 Community!

Based on the doc you shared, it describes steps to configure PostgreSQL as an Auth0 Custom Database. However, you’re using a Post-User Registration Action to create the user in your PostgreSQL DB instead of the custom DB script.

Additionally, when looking at the axios.post request, I believe the issue involves POST-ing a Database URL instead of an HTTPS URL. I can confirm after testing this in the Actions debugger interface.

Given that, I recommend completing the configuration for your custom database with PostgreSQL and implementing the Create script. This should create a user whenever a user signs up on your application using this connection. See below.

Please let me know how this works for you.

Thanks.