I am building a node.js REST api for an android application. During the registration phase, user chooses a username which is unique. Based on the availability of the username, he/she is allocated that username and the user is created in DB. Currently the API is exposed and all routes can be accessed by anyone.
I want to add authentication mechanism but don't want to make the end user enter any password. What should I use ? I am googling around and finding some results citing HMAC or api key based authentication but I am not able to understand everything clearly. Is there any good tutorial available for beginners that explains this ? PS: I am using Sails.js framework for my development. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/29b8c219-44c7-4d8d-a715-587a58d20767%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
