For my app, I want everyone to have a standard Auth0 database user. To facilitate this, I would like to create a DB user account when they sign in with a social account, using the same email address, and then link them.
I am getting a “customer_already_exists” error when I try and register a DB user, when the only user present with that email is the social (google) user. As far as I know, this shouldn’t be a problem, since I had a social user with the same email working before while testing.
I did check via an API to managementClient.usersByEmail.getByEmail() call that runs right before the new DB user create, that the only user with that email is the social account. The connection I am trying to create a user on is “Username-Password-Authentication”.
What is going on here? Can I not make a DB user when there’s a social user with that email?