Answer the question
In order to leave comments, you need to log in
What to use for authorization on Node.js?
Good day :) Started learning node.js. I want to make authorization from the database (mongoose) on it. How to implement it?
Answer the question
In order to leave comments, you need to log in
I used https://github.com/jaredhanson/passport here is an article if anything habrahabr.ru/post/201206 .
Security level, do not worry)
So I will say, if you want a normal site, take a php or php framework, and forget this shit like NodeJs for at least 10 years, because if you implement something in it, you will soon turn gray. I tried many options for implementing user authorization, only one works, this is passport, most modules simply give an error as they are very outdated, the only normal thing on the node is socket.io, it is good for chat, the node is not good for anything else. No matter what anyone says, NodeJs is complete crap.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question