Login with user name or email instead of user id
Installation and Configuration
amartins:If I create a user I get the id in response, that works fine. But if user is created in website how can he/she login in my app without id? Because they don't know their IDs.
Ahh - got it - that makes sense. I just pushed out version 1.0.6 of the Proxima User module - you can now sign in by passing a "user_name", "user_email" OR "id" parameter, along with password. The response will now include the "_id" key - so even if they sign in using a user_name or user_email, you will now get the correct _id that should be used on the client.
Let me know if that works for you.
Hope this helps!