Prevent Invocation of login script in the process of sign up

I’m using Auth0.js SDK and with the signup method. And I’m using custom database. After the user-create script in auth0 finished, the server side will somehow execute the login script. But I don’t want that.

In my application, user must click the invitation email to update the user status in database. If the user account was just created in database, his/her status would be ‘PENDING_VERIFICATION’. The login sql won’t be able to find the user, as I set the condition to ‘where user_status != “PENDING_VERIFICATION”’. In this situation, I can not finish the sign up process because the server side will return WrongUsernameOrPasswordError.

So my question is how to prevent the invocation of login script in the process of sign up? Thanks a lot.

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?