Check if user already exists on signup

Hi,

I was reviewing this topic Prevent user from signing up if email already exists? and I want to know if there is another approach for this, right now we need to know if user already exists when they are signing up in Auth0, is there a way to check that in an Auth0 Rule?

If so, please let me know.

Thanks,

Daniel

1 Like

Hi @daniel.berrocal,

You can query the Management API from within a Rule using the ManagmentClient Use the Management API from within Rules

You could use the getByEmail method to see if the user already exists.

Would you need to do anything else once you determine if the user already exists such as linking their account?

1 Like

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