Call to the GetUser script when creating a new user

Ready to post? :mag: First, try searching for your answer.
Hey guys,
Why is the GetUser script called when I create a user in the Auth0 database? Previously, I would create a user in my own database and then immediately create it in the Auth0 database using my ID. However, this process stopped working. I found that the user was not being created in Auth0 because they already existed in my database.
Could someone help me, please?

Hi @bmendes!

New users are automatically logged in when they sign up. The login script will call the Get User function when logging in. I would check your database Login and Get User scripts to see what is happening on the back end.

Best,
Alex

1 Like