Authentication system with node.js restify and backbone.js

I challenged myself, I would like to write an authentication system with reify (node.js) and backbone.js.

My questions: can someone give me some advice on security or what middleware I should use, for example.

+4
source share
1 answer

Passport is a very well implemented module. Everyauth and passport are the main projects on github. Here is a wonderful stream on stackoverflow about both of them . Easy to repeat - asynchronously using the Promises pattern. I also like the modularity offered by the passport. Saved my code tone and made your code good.

I used a passport for facebook auth and implemented my own authentication using a local passport . My backend is Mongodb, and the mongoose really helped me.

I like to express better than to repeat. It is extremely well documented and has strong community support.

+2
source

Source: https://habr.com/ru/post/1480945/


All Articles