Ability to check if the user signing up exists already
Opened this issue · 1 comments
nabilshuja commented
Problem
Currently, I think if you try to sign up right now using existing credentials, while the API does respond with an error. It's not feasible enough to check through exc/ exception that the mobile exists/ primary key exists / email exists. And while server messages are fine. Translation for them is an issue.
Solution
Having a separate API for checking whether or not a user exists. Based on email & phone number. And maybe even check for enabled or not, I suppose. I believe this would be useful in other cases as well.
ikerfah commented
is it possible to update login response if the user exists ? in order to avoid making two api calls each time.